Search found 2 matches

by gatekeeper
Fri Apr 04, 2008 3:15 am
Forum: PHP - Code
Topic: some error, please help?
Replies: 2
Views: 206

Re: some error, please help?

HI there kababayan, seems you already closed the connection before actually fetching rows... mysqli_close() is used to close a previously opened database connection. Unless you have already fetched or is done fetching rows, you're not supposed to close connections yet. your other line $conn->close()...
by gatekeeper
Fri Apr 04, 2008 1:36 am
Forum: Installation and Configuration
Topic: $_SERVER['REMOTE_ADDR'] same as $_SERVER['SERVER_ADDR']
Replies: 1
Views: 1344

$_SERVER['REMOTE_ADDR'] same as $_SERVER['SERVER_ADDR']

I have revised PhpFreeChat in my host, and it was working fine there. Then, my contact installed it in his server and this problem showed up. $_SERVER['REMOTE_ADDR'] returns the same value as his host address, $_SERVER['SERVER_ADDR']. I think this has something to do with some misconfiguration in ei...