|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I use this...
Quote:
.. but only get the ISP proxy IP number instead of viewer's one. Any help? Tks! Note: the running script is in http://c2001.com/get_ip/
__________________
Pere www.casti2001.com |
|
#2
|
||||
|
||||
|
According to the user notes in the manual, there is also a $_SERVER['HTTP_CLIENT_IP'].
Complete discussion: http://www.php.net/manual/en/langua....predefined.php |
|
#3
|
|||
|
|||
|
Thank you.
I have just modified my script and now it looks... Quote:
But still what I get is my ISP proxy IP. Not my server's one. So what I need is a way to "by-pass" that proxy located between my computer and my server. So any additional suggestion will be highly appreciated. |
|
#4
|
|||
|
|||
|
Back to this matter, the problem of wrong IP is because of transparent anonymous proxy ISP Cache Servers.
Hope somebody knows the way to avoid receiving the proxy IP number instead of the server one. Thanks ! |
|
#5
|
|||
|
|||
|
I don't think there's anything you can do then. The only way you can find out the IP address of the computer making the request to the proxy server is if the proxy sets the value of the X_FORWARDED_FOR variable when it makes the http request to your server. If this variable isn't set then you can't find out the client IP address. I.e. its acting in an anonymous fashion hence is end user is anonymous since you cant find out what their IP address is
Last edited by cbailster : May 9th, 2003 at 09:18 AM. |
|
#6
|
|||
|
|||
|
Thank you Cbailster.
Then I am quite frustrated with my ISP. I am using our main ISP in Spain and they set up their proxy cache a couple of weeks ago having most of their clients totally upset. Thanks again. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > How can I get the real IP ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|