Re: [PHP-WIN] php/apache $remote_addr variable help!

2001-09-05 Thread pasupathy
Bryan Kaufman wrote: > Try > this gives the same result i.e 127.0.0.1 > > also try > > > It will tell you all the vars available, and you can > see if register_globals is turned off (which is why > you need to use HTTP_SERVER_VARS[]) yes the register globals is 'on' for both local and ma

Re: [PHP-WIN] php/apache $remote_addr variable help!

2001-09-04 Thread Bryan Kaufman
--- pasupathy <[EMAIL PROTECTED]> wrote: > > hello, please help > > the script won't return the > IP address of the > viewer of my remote webpage, Try also try It will tell you all the vars available, and you can see if register_globals is turned off (which is why you need to use HTTP_SE

[PHP-WIN] php/apache $remote_addr variable help!

2001-09-04 Thread pasupathy
hello, please help the script won't return the IP address of the viewer of my remote webpage, could it be that the remote apache server disallow this, however the network functions gethostbyname,gethostbyaddr does return the hostname or ipaddress when used with the form inputs -- PHP Window