aktell Posted February 15, 2007 Share Posted February 15, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.