| | |
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: 172
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 |
apache api array beginner beneath binary broadband broken cache cakephp class cms code confirm countingeverycharactersfromastring crack cron curl customizableitems database date decode display dynamic echo email error fcc file folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include incode integration ip javascript joomla limit link login malfunction match menu method mlm mod_rewrite multiple mysql neutrality oop pagerank paypal pdf php phpmysql play query question random recursiveloop root script search select server sessions sms smtp soap source space sql strip_tags support! survey system table template tutorial upload url variable video web window.onbeforeunload=closeme; youtube





