Jump to content

kiweeboy63

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kiweeboy63's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, can someone take a look at my PHP script to see if I have written it correctly for my 'Contact' & 'Thank You' page on my first website I built? Thank You page not coming up after you click the Send button and the info is not being forwarded to the email address I specfy in the "$ForwardTo" string. All I have in my form mail setup for my Contact page is Name, Email Address, Subject, and Message entry area, plus the 'Send' button. I used SiteSpinner to build my website...they were no help. <?php $ForwardTo="email@address.com"; $name=$_REQUEST["Name"]; $email=$_REQUEST['EmailAddr']; $subject=$_REQUEST["Subject"]; $entry=$_REQUEST['TextEntry']; $details='Name: '.$name."\n" .'Message: '.$entry."\n"; mail($ForwardTo,"Subject:$subject",$details,"From:$email"); header("Location: ThankYou.html"); ?> Thanks in advance!
×
×
  • 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.