Mike Mapsnac <mailto:[EMAIL PROTECTED]> on Tuesday, March 09, 2004 5:42 PM said:
> This code below gives me this error message: > Warning: Cannot modify header information - headers already sent by > (output started at /var/www/html/account.php:6) in > /var/www/html/account.php on line 17 > > The script check in the database if user exists and than redirect the > page to the home index.php page. I know the problem exist in the > header() .. But I don't understand why? the error is telling you that you cannot output anything to the client BEFORE modifying the headers, i.e. redirecting. you have a lot of output starting on line 6 in /var/www/html/account.php. hth, chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php