Jump to content

Can someone look at this? php server side validation form


Serik

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
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.

Archived

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

×
×
  • Create New...

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.