Can someone look at this? php server side validation form
Posted 02 September 2006 - 01:16 AM
i have it so it wont submit if any fields are left blank and will return with text tellin you what fields need filled
but even if they are filled its not letting the form submit
any help is appreciated
also note that im pretty new to php so ill need an in depth explanation or examples
Posted 02 September 2006 - 01:34 AM
How do you know the form is not being submitted? Do you mean no email is sent, or is there some other indicator?
Quick look at your code and it assumes that register_globals is ON. That's not the norm for recent, decent, web hosting. If that means nothing to you, then save, upload, and run this piece of code saved as test.php:
<?php phpinfo(); ?>
It'll spit back reams of information and somewhere on that page it'll tell you about register_globals. Let us know if it's ON or OFF.
Posted 02 September 2006 - 01:56 AM
and the email isnt being generated and its not redirecting to the $thanks page
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users