I have 2 script. That’s :
- registration.html
- process_registration.php
Sometimes someone open the link direct into process_registration.php, so how can I prevent that ?
Process_registration.php function is to save the data get from input from registration.html.
Any idea ?
You can use :
at the top of your process_registration.php file.
Of course, replace
fieldby one of your existing fields in your form.If you’re against flooders that does register several accounts using scripts, you may use a captcha field on your registration form, or use protections against crawling.