Jump to content

[SOLVED] Header Msg at LogIn.???


aktell

Recommended Posts

Hi there,

 

I'm getting this warning ??? I just dont know what (user_login.php:11) means either. I have a config.php file included in line 11 ???.

 

Warning: Cannot modify header information - 
headers already sent by (output started at /home/../user_login.php:11) 
in /home/../user_login.php on line 219

This is the code the msg is reffering to.

if (mysql_num_rows($result) == 1) {
$_SESSION['user_logged'] = $_POST['members_id'];
$_SESSION['user_password'] = $_POST['password'];
header ("Refresh: 5; URL=" . $_POST['redirect'] . "");
echo "You are being redirected to your original page request!<br>";
echo "(If your browser doesn't support this, " .
"<a href=\"" . $_POST['redirect']. "\">click here</a>)"
} 
else 
{

 

 

Thanks in advance aktell

Link to comment
https://forums.phpfreaks.com/topic/38689-solved-header-msg-at-login/
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.