Originally posted by doobster
This particular script is being called from another script which is obviously why I need to verify the referer.
Hello,
You don't NEED to verify the referer, there are other means. Using the environmental variable HTTP_REFERER is a bad idea due to firewalls, proxies, and the plain fact that some browsers don't support referers.
This is more of advice that a solution, simply because there is no solution for "needing" to use HTTP_REFERER with a firewalled client.
Also, I doubt the problem is the firewall, I think it is the browser type. Reason being, I have a personal firewall and HTTP_REFERER still returns perfectly for me. Then again, you may be using some weird firewall that disables everything...