Jump to content

Firstaka

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Firstaka's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I was able to figure it out. THANKS SO MUCH!
  2. I Did a quick test and I think so. Look Here: http://www.orientwatchusa.com/PHPTEST.PHP
  3. How would I know if the server accepts PHP?
  4. Not yet. I am waiting for an update on another page to finish
  5. http://www.orientwatchusa.com/index-4-test.html
  6. So I uploaded the info to the site and when I click on the submit button I am redirected to a blank page. Any ideas?
  7. Thank you. It looks right but I can't try it right now. I will post tomorrow if I have any problems
  8. Okay what would you suggest to make it more secure? Also, As you can probably guess I didnt write the original source So I am bit confused how to actually implement this.
  9. Would this work? <?PHP $to = "you@your.com"; $subject = "Results from your Request Info form"; $headers = "From: Form Mailer"; $forward = 0; # redirect? 1 : yes || 0 : no $location = "thankyou.htm"; $date = date ("l, F jS, Y"); $time = date ("h:i A"); $msg = "Below is the result of your feedback form. It was submitted on $date at $time.\n\n"; if ($_SERVER['REQUEST_METHOD'] == "POST") { foreach ($_POST as $key => $value) { $msg .= ucfirst ($key) ." : ". $value . "\n"; } } else { foreach ($_GET as $key => $value) { $msg .= ucfirst ($key) ." : ". $value . "\n"; } } mail($to, $subject, $msg, $headers); if ($forward == 1) { header ("Location:$location"); } else { echo "Thank you for submitting our form. We will get back to you as soon as possible."; } ?>
  10. I would like to be able to send the form to an e-mail address but I can't seem to figure out how. The webpage can be found here with the contact section that needs to be edited to the right: http://orientwatchusa.com/index-4.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.