Simple form script test doesn't send email...
Posted 19 May 2006 - 01:35 PM
I'm a jobless person who accidentally got a webdesign job with an employment agency. I kinda said that I would try to provide them with a free form instead of them having to pay someone like www.logiforms.com
I'm completely new to PHP, but managed to install a local server and create these files:
I kept getting errors when trying to run the script locally, so I uploaded to:
[a href=\"http://www.smartrecruituk.com/form.php\" target=\"_blank\"]http://www.smartrecruituk.com/form.php[/a]
It's just a test form. I uploaded it to the HTDOCS directory. There was a CGI directory but I think that this server is PHP enabled... hopefully.
I tried the script on the server and it successfully took me to the thankyou.html page but I never received an email.
I'm not sure why this script doesn't work and I have been unable to find a free web host that supports PHP and SMTP...
Posted 19 May 2006 - 01:37 PM
or create files with the following extention form.phps should show the code
Posted 19 May 2006 - 05:49 PM
<html> <head></head> <body> <form method="post" action="sendmail.php"> Email: <input name="email" type="text" /><br /> Message:<br /> <textarea name="message" rows="15" cols="40"> </textarea><br /> <input type="submit" /> </form> </body> </html>
**edited to remove my email address from google!**
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users