Jump to content

HTML CODEING HELP


Aaron888

Recommended Posts

The bottom one should work. You need to copy the code into a new PHP document. Direct the form action to that document and make sure your field names match the GET names in the script. You also need to make sure your web host allows the use of mail().

Link to comment
Share on other sites

Pure_mage, he won't be able to use mail() using something like wamp run locally, and he's probably not even using that since he said he just started :/

 

 

 

Your best bet would be to get some cheap web space, or if your site is already live, create a new document, type:

 


<?php phpinfo(); ?>

 

save it as info.php, ftp it to your server and see what it says when you try to view it.

 

 

 

If you are asked to download it, or it doesn't have a bunch of stuff on the page, then you need to contact your host to see if you can get php, explore another server scripting language (perl/asp/even jsp) or use a third-party site that would allow you to do this. I'm sure they have them.

 

 

 

Oh and, there's no reason to have to validate the email as he's going to have to input it directly, not by form variable. Saves some code =)

Link to comment
Share on other sites

Oh and, there's no reason to have to validate the email as he's going to have to input it directly, not by form variable. Saves some code =)

 

 

 

I know that but to be honest I forgot to take it out - I took the code from a few posts above and forgot about the e-mail validation.

 

 

 

Not really sure where he's running it from either, OP didn't specify.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.