Page 1 of 1

form location verification

Posted: Thu Jul 24, 2003 7:08 am
by drew78
Well....

I would like to know from where the user is posting the form. I want to restrict them to only use the forms on my page in order to prevent miss-usage.

So far I have tried to use $_SERVER["HTTP_REFERER"] and search for the page-url, and that worked in my case. Now I have seen that lots of users have an empty string in the above variable... :(

Have anyone done this kind of verification with PHP? Can you give me a hint on how to proceed?

Thankx in advance!
//Drew


?>