Quote:
Originally Posted by Hall of Famer
Well add this at the beginning of the script:(below the 'START SCRIPT' section):
PHP Code:
if(!isset($_GET['submit'])) throw new Exception('Direct access to this file is forbidden, please return to adopt.php and submit your form.');
|
The S in submit should be capitalized.
This has pretty much the same problem, only now the user has to add &Submit= to it, like /doadopt.php?id=1&Submit=.