Jump to content

dryan11

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by dryan11

  1. Thanks! I'm not sure exactly what was causing the issue, but after I read this I rewrote the file just using Notepad and it worked fine. I was using Dreamweaver, so I'm assuming that is saves the file with some extra characters that I didn't want. Thanks again for the help. Was very simple, wish I was able to figure that one out on my own.
  2. Thanks for your quick response! After adding those two lines, I received this error in the web browser. Warning: Cannot modify header information - headers already sent by (output started at /hermes/web10/b871/moo.mytriptical/Test/newmail.php:1) in /hermes/web10/b871/moo.mytriptical/Test/newmail.php on line 23 Any further assistance would be greatly appreciated.
  3. I've done many different searches looking for an answer to my issue. Everything is working fine except the redirect. From what I've read it should work fine, but it never redirects. Here is my code: <?php // Variables $from = $_REQUEST['FieldData0']; $email = $_REQUEST['FieldData1']; $phone = $_REQUEST['FieldData2']; $company = $_REQUEST['FieldData3']; // User information $content = "Name: $from\r\n"; $content = "$content Email Address: $email\r\n"; $content = "$content Phone Number: $phone\r\n"; $content = "$content Company: $company\r\n"; // Wrap content to abide by php rules $content = wordwrap($content, 70); // Send email mail('myemail@hotmail.com', 'Someone Sent You Something!!!', $content); // Redirect user to thank you page ************ NOT WORKING ************ header('Location: http://www.yahoo.com'); ?>
×
×
  • 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.