How To Detect Proxy Server With Php
- Forums
- PHP
- How To Detect Proxy Server With Php
Im Getting Hits From Proxy Servers And I They Are Putting Ads Like Porn Ads That I Dont Want [2069], Last Updated: Mon Jun 24, 2024
Chrlierty
Wed Dec 02, 2009
2 Comments
430 Visits
is there a way to detect if a user is using a proxy server to visit my website? i am looking at my analytics statistics and there are some urls with proxy server. so when i visit on these urls, it shows my website, but the proxy servers also embed their own ads, which is not fair because they are making money ouot of my own content so want to be able to check if the user came with from a proxy website and if so, i want to redirect them to my own website instead that way it will not show their ads
can that be done?
the absolute best way is to use PHP, if you are familiar with HTTP Headers, use them, if you dont know what HTTP headers are. let me know and i can explain
https://www.webune.com/forums/how-to-detect-proxy-server-with-php.html