Jump to content

header redirection..


brown2005

Recommended Posts

								elseif($saction == "submit")
								{

									$name = $_POST['name'] ? $_POST['name'] : "";
									$email = $_POST['email'] ? $_POST['email'] : "";										
									$subject = $_POST['subject'] ? $_POST['subject'] : "";									
									$message = $_POST['message'] ? $_POST['message'] : "";
									$priority = $_POST['priority'] ? $_POST['priority'] : "";										

									echo"	name - $name
											<br>
											email - $email
											<br>
											subject - $subject
											<br>
											message - $message
											<br>
											priority - $priority";

									header("location: $config_website_url/$config_website_url_topic/files/help.php?&view=helpdesk&action=email_us&saction=complete");									

								}

 

i have that code at the moment, but it says headers have already been sent. is there any way around this, or should i put the process code in a separate php file...

 

thanks...

Link to comment
https://forums.phpfreaks.com/topic/76361-header-redirection/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.