dryan11 Posted May 18, 2009 Share Posted May 18, 2009 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('firstname.lastname@example.org', 'Someone Sent You Something!!!', $content); // Redirect user to thank you page ************ NOT WORKING ************ header('Location: http://www.yahoo.com'); ?> Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.