Originally Posted by Koobi
i would replace this:
PHP Code:
if(isset($_POST['submit']))
with this:
PHP Code:
if('go!' == $_POST['submit'])
otherwise your form will be submitted for any $_POST['submit'] value which bots can do by sending headers.
|
This is possible in both cases, so there's actually no advantage of replacing.