Jump to content

SS

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by SS

  1. In the time since this thread was active, I've found several solutions regarding my last post. In the interest of future searches, thought I'd invite anyone to PM me and I'll be happy to help. (By the way, the other advice given to me on this thread caused the form to stop working, and for that reason I'd advise against using it.)
  2. It seems this form takes quite some time to leave the form page to the thankyou page after clicking submit. The form page just sits there for a while, possibly making a person wonder whether their click actually worked. Can anyone say whether this is due 100% to a crappy mail server, or is there something I could do to speed it up?
  3. First, thank you for the reply. I really appreciate it. Being a complete novice, it seemed I was basically pulling this code out of my ass - so perhaps an expert could look at it and see glaring problems with it (security, functionality, whatever) and tell me. Because I wouldn't necessarily know otherwise. Ok. I will do this right now. I will do this as well. Thank you again. People who give wayward strangers good advice on message boards are the new saints. I want to really thank you for taking the time.
  4. Helo - Total newbie here, so please keep that in mind. I'd really appreciate some wisdom from someone here as to how you would improve this form: <?php $email = $_POST['email']; $message = $_REQUEST['message']; $message = $_POST['date']; $message .= $_POST['location']; $message .= $_POST ['comments']; mail( "testing@gmail.com, 5602346789@metropcs.com", "General Inquiry", $message, "From: $email" ); header( "Location: thankyou.html" ); ?> *******************************html****************************** <HEAD><title>Hi</title<HEAD><BODY BGCOLOR="lightgray"><br><br><center><br><br><form method="post" action="sendmail2.php"><table cellspacing="5" cellpadding="5" border="0"> <tr> <td valign="top"><font face="arial"> <strong>Contact email:</strong><br> </td> <td valign="top"><font face="arial"> <input type="text" name="email" size="50" value="" /> </td> </tr><tr><td valign="top"><font face="arial"> <strong>Date:</strong> </td> <td valign="top"><font face="arial"> <input type="text" name="date" size="50" value="" /> </td> </tr> <tr><td valign="top"><font face="arial"> <strong>location:</strong><br> </td> <td valign="top"> <input type="text" name="location" size="50" value="" /> </td> </tr> <tr> <td valign="top"><font face="arial"> <strong>Comments:</strong><br><font color="black"> </td> <td valign="top"> <textarea name="comments" rows="6" cols="40"></textarea> </td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value=" Submit Form " /> </td> </tr> </table> </form></center></body>
  5. Haha..kind of dim here, but when I went to copy the form, the problem hit me. I had changed the names in it, and forgot to change them back (meaning they weren't jiving with the names in the php script). I've been going nuts here in the past few days, and my mind must have snapped. Thank you guys. I read on another thread that topics should be marked as solved, but don't see how to mark this.
  6. I've been searching for a couple of days on google using keywords, trying to figure out why this form sends blank emails. I've found several different ways to write something like this, including what's below, but for the life of me I haven't figured it out. Can anyone help a brother out? <?php $email = $_REQUEST['email']; $message = $_REQUEST['date']; $message .= $_REQUEST['location']; $message .= $_REQUEST['quantitymodel']; mail( "name@email.com", "Email Contact Form", $message, "From: $email" ); header( "Location: thankyou.html" ); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.