Jump to content

Archived

This topic is now archived and is closed to further replies.

Serik

Can someone look at this? php server side validation form

Recommended Posts

ok heres the form www.mellonhosting.com/art/enter2.zip

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 

thanks

Share this post


Link to post
Share on other sites
A few questions.

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:

[code]<?php
phpinfo();
?>[/code]

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.

Share this post


Link to post
Share on other sites
register_globals On On  is what it says

and the email isnt being generated  and its not redirecting to the $thanks page

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.