That means you send some output before the headers were sent. That is a no no.
For instance, this will not work: <?php Echo "hello world"; header("Location:http://www.yahoo.com/"); ?> But this will <?php header("Location:http://www.yahoo.com/"); Echo "hello world"; ?> - Paul -----Original Message----- From: Larry Sandwick [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 2:25 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] How to redirect after a valid login What is considered to be the headers() information .... When I use the header() functions, I get an error stating that I have already sent the headers information? // Larry -----Original Message----- From: Larry E. Ullman [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:04 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] How to redirect after a valid login > Is there a way that after a execution of a Login script and validation > of login from a MySql database to automatically redirected to run > another script ? Use PHP's header() function. See the manual for syntax. Larry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php