live_ex3me Posted July 31, 2007 Share Posted July 31, 2007 hi there.. i have a form, let's say "form.php". data will be send to "do.php". but if someone saves the form.php on his computer, than he can manipulate the form script and can send data to my do.php file right from his computer, he doesn't even need a server if he change the script to be a html.. i could fix this with a code which to restrict the access on my do.php file.. but this restriction must be based on the domain name i suppose, and that is my problem.. i don't know how to do that script.. i searched on php.net, but couldn't found any functions to help me.. Quote Link to comment Share on other sites More sharing options...
live_ex3me Posted July 31, 2007 Author Share Posted July 31, 2007 well.. i solved my problem, you can close this topic. if anyone is interested how, just look after $_SERVER['HTTP_REFERER']. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.