Thread: A little help?
View Single Post
  #1  
Old 06-27-2007, 10:06 PM
EDGE is offline EDGE
EDGE's Avatar

Join Date: Feb 2003
Location: North Carolina
Posts: 7,184

A little help?

Okay, so I took your advice scott...I'm reading up on some php. Your right, so far I like it. Now, im having trouble with an email form. Everything works, but I don't ever recieve the emails. Is there just a long period of waiting time or did I do something wrong? I had some help from DN Lodge making this code, but it seems to not want to fully work. Anyhow, help please

email form:
Code:
<form method="post" action="sendmail.php"> Name: <input name="name" type="text" /><br />  Email: <input name="email" type="text" /><br />  Message:<br />  <textarea name="message" rows="10" cols="50">  </textarea><br />  <input type="submit" /></form>
and the sendmail.php code:

Code:
<? $name = $REQUEST['name'] ;  $email = $_REQUEST['email'] ;  $message = $_REQUEST['message'] ;  mail( "steve.j.mcarthur@gmail.com", "Feedback Form Results",    $message, "From: $email" );  header( "Location: #LOCATION#" );?>
I am aware that the #LOCATION# needs to be replaced I added that so no one would take a peak at my site just yet.

Thanks for any help that anyone can provide.
__________________
Quote:
Voltaire
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets.
Reply With Quote