problem with $REMOTE_ADDR
Posted: Tue Mar 18, 2003 12:20 pm
I guys
im having a problem with what the $REMOTE_ADDR variable returns, in some parts of my script it returns the IP address of my machine, but in other parts it returns nothing?
in the routines that uses it, ive tried making it global, and even identified it as global at the start of the script, but it seems in some functions it has a value, and some it doesnt
its very unpredictable, and only occurs when i upload the script to the unix server
im having a problem with what the $REMOTE_ADDR variable returns, in some parts of my script it returns the IP address of my machine, but in other parts it returns nothing?
in the routines that uses it, ive tried making it global, and even identified it as global at the start of the script, but it seems in some functions it has a value, and some it doesnt
its very unpredictable, and only occurs when i upload the script to the unix server