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
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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