I want to detect proxy servers aswell by using php but for some reason it wont work for me. I am going to be switching my site to server beach within the week but it wont work on my current server and want to know if it will work on server beach if I switch. I am currently running apache on linux and have tried using the environment variable HTTP_X_FORWARDED_FOR but for some reason it doesn't seem to detect anything. I heard that it is an uncommon environment variable unlike REMOTE_ADDR so it might not be supported. Is there a way to add this functionality to my site and if so how? |