-
detect proxy server with PHP?
Does anyone know of a way to detect if the user is coming in via a proxy server using PHP?
Omar Bacha
-
-
Probably the best way that I could think of off the top of my head would be to use $_SERVER['HTTP_X_FORWARDED_FOR']. That usually gives you the local IP address of the user if it is behing a proxy.
Hope this helps.
-
-
If the proxy is good enough, you can't tell, in the end.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks