Jump to content


Photo

Can someone look at this? php server side validation form


  • Please log in to reply
3 replies to this topic

#1 Serik

Serik
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 02 September 2006 - 01:16 AM

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

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 02 September 2006 - 01:34 AM

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:

<?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.
Legend has it that reading the manual never killed anyone.
My site

#3 Serik

Serik
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 02 September 2006 - 01:56 AM

register_globals On On  is what it says

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

#4 Serik

Serik
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 03 September 2006 - 07:35 AM

bump?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users