How Can I get Client Machine's IP in PHP
Hii All ,
I Think My problem is so simple ,though i can't solve it , becoz i don't know how to program in PHP.
well , Problem is that , My PHP script installed in a webserver ,I just want that whenever client request for that script,Script should return the IP address of client machine.In other word we can say that PHP Script should return the IP address of evey machine , where it runs.
I use getenv('REMOTE_ADDR'); function , but it returns the IP address of server instaed of Client .
well if all of you have understand my problem then help me
Thanks in advance.