December 31, 200718 yr action = "http://localhost/cgi-bin/showall.cgi"> Please Type Your Guide Please.
December 31, 200718 yr Moved this to Tech and Computers, Help and Advice is for Runescape advice only ;) [Tip.It Mod][Retired][Add your Steam name here!]
December 31, 200718 yr If you're going to use that script make SURE you set the e-mail variable manually like it says.
December 31, 200718 yr 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().
December 31, 200718 yr 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 =) Last.fm Signature Overlays
December 31, 200718 yr 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.
Create an account or sign in to comment