Putting limits on form submissions
Posted: Fri Apr 25, 2003 7:25 pm
Hi there -- I've got what's probably a relatively easy question to answer.
Is there any way I can prevent a php document page from processing a form if it is submitted from somewhere other than my own site?
That is to say, if somebody creates their own document on an outside server, and uses action="mydomain.com/myscript.php", how can I detect that from within my script, so I can refuse to process the input?
Thanks,
El Perezoso
Is there any way I can prevent a php document page from processing a form if it is submitted from somewhere other than my own site?
That is to say, if somebody creates their own document on an outside server, and uses action="mydomain.com/myscript.php", how can I detect that from within my script, so I can refuse to process the input?
Thanks,
El Perezoso