Click to See Complete Forum and Search --> : New Install Help!


almightymike
05-20-2003, 07:49 AM
here is what we're using

APACHE version 1.3.27
MySQL version 4.0.12
PHP version 4.3.1

all TAR.GZ files.

We can't seem to make PHP work right. I can see PHP info and the other simple PHP stuff.

some functionalities I noticed tht doesn't work was my sessions don't work
GetHostByName($REMOTE_ADDR) returns no value

what could we have done wrong? any ideas? by the way, were using Red Hat 8.

tsinka
05-20-2003, 08:17 AM
Hi,

register_globals is off per default. It might work with

GetHostNyName($_SERVER['REMOTE_ADDR']);

The manual contains a list of predefined variables and how to read them out if register_globals is Off.