Hello, I am having a shopping cart application on my website. i want if some is opening my website from proxy server and click on check out button, then i should have some script that will check that is this click is from direct browser not from proxy. E:g if i have hidden value in checkout for like : <INPUT type=hidden value="$CurrentPageURL" ="CartcheckoutPath"> and on next page or on same page i can cross check it. so that the proxy user cannot move further to next page. Can you please suggest how is it possible. Please suggest. Thanks
First off, why do you want to do this? Some people use proxies, 'cause it makes them feel more secure. And others might use proxies because of their ISP. So why not give these users a chance to checkout? Anyway, this will detect most proxies. BUT IT'LL ALSO BLOCK SOME NON-PROXY USERS. if (@fsockopen($_SERVER['REMOTE_ADDR'], 80)) { // Is proxy... handle error } PHP: Other than that, I don't think there's a real way to detect a proxy...
http://coralpalms.com/software/site-firewall-pro.html http://www.webmasterworld.com/apache/3506567.htm