Jump to content

Login form issue


WatsonN

Recommended Posts

In my login form I'm getting the error

Notice: Use of undefined constant Errors - assumed 'Errors' in /home/content/n/a/t/nathanwatson/html/admin/YBK/post.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/nathanwatson/html/admin/YBK/post.php:91) in /home/content/n/a/t/nathanwatson/html/admin/YBK/post.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/nathanwatson/html/admin/YBK/post.php:91) in /home/content/n/a/t/nathanwatson/html/admin/YBK/post.php on line 92

 

 

 

 

 //if the name exists it gives an error
if ($check2 != 0) {  //Line 85
		$error="<span style=";
	$error .="color:red";
	$error .=">";
		$error .= "Sorry, the username is already in use.";
		$error .="</span>";
		setcookie(Errors, $error, time()+20);  //Line 91
	header('Location: /YBK/');   //Line 92
	exit;
				}

 

 

Link to comment
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.