Jump to content

cookie help?


nezbo

Recommended Posts

Hi all

 

I have this code and that was working then i have modifide an other bir of the code and i have had to change this bit...

		setcookie("user", $usernames);

	$jobIdentifier = $_REQUEST['job_identifier'];
	if (isset($jobIdentifier))
	{
		echo '<script type="text/javascript">
		window.location = "editJob.php?job_identifier=' . $jobIdentifier . '"
		</script>';
	}
	else
	{

 

 

and now i am geting this error...

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\call_Log\top.php:14) in C:\Program Files\xampp\htdocs\call_Log\login.php on line 38

 

Is there any reasion that i get this massage?

 

Neil

Link to comment
https://forums.phpfreaks.com/topic/74580-cookie-help/
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.