How to detect proxy

First of all, to get this script running you need to have PHP installed on your server.
Then in few simple steps you can make your website secure from proxy users.
This script wont make your site 100% safe from proxy users, but it will be way more secured than without this script.
Feel free to give some comments or suggestions on mail: comments [at] dev.dmyip.com.