| | |
Contact us form help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 179
Reputation:
Solved Threads: 2
Hi
I got this script of a tutorial site and I placed it on my site but it seems to work fine apart from it doesn't send the email can anyone help me please.
the contact us page
and the sendmail.php script
can anyone tell me whats wrong like I said it looks like it is functioning fine but the emails just aren't being sent.
Many thanks
HLA91
I got this script of a tutorial site and I placed it on my site but it seems to work fine apart from it doesn't send the email can anyone help me please.
the contact us page
PHP Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Contact Us</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> </head> <body> <h1 align="center">Contact Us</h1> <h2>We value your opinions!</h2> <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><div id="footer"> All contents of this site © 2007 Harry Angell   ;   ; <font face="Arial Unicode MS" size="4"><a href="index.htm">Home</a></font></div> </body> </html>
PHP Syntax (Toggle Plain Text)
<? $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; mail( "praytotherock@hotmail.co.uk", "Feedback Form Results", $message, "From: $email" ); header( "Location: http://harang.freehostia.com/thankyou.html" ); ?>
Many thanks
HLA91
Last edited by HLA91; May 5th, 2007 at 11:00 am.
You know your a geek, if you introduce your wife as "mylady@home.wife"
What e-mail address do you want the e-mail sent to? Is it praytotherock@hotmail.co.uk?
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
![]() |
Similar Threads
- Need a contact form (HTML and CSS)
- Need a contact form for my web site (Site Layout and Usability)
- Auto fill-in a field on the contact form (HTML and CSS)
- Contact form without scipts (PHP)
- Removing pictures from Outlook 2003 Contact form (Windows Software)
- Need Web Based Contact Us Form (PHP)
- I need help with a form please (PHP)
Other Threads in the PHP Forum
- Previous Thread: Fireworks menu into a php block help!
- Next Thread: query problem (delimiter?)
| Thread Tools | Search this Thread |
advanced alerts apache api archive array autosuggest beginner binary broken cakephp checkbox class clients cms code cron curl database date datepart display dynamic echo email emptydisplayvalue eregi error execute explodefunction file files folder form forms function functions google hack head href htaccess html if...loop image include insert ip javasciptvalidation javascript joomla keywords library limit link login mail matching menu mlm multiple mysql object oop password paypal pdf php phpincludeissue query radio random recursion recursive remote script search searchbox server sessions shot smarty source space speed sql syntax system table tutorial update upload url validator variable vbulletin video web website youtube





