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:lgs@xxxxxxxxxxx] Sent: Friday, March 12, 2004 2:25 PM To: php-db@xxxxxxxxxxxxx Subject: RE: 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:LarryUllman@xxxxxxxxxxxxxxx] Sent: Friday, March 12, 2004 3:04 PM To: lgs@xxxxxxxxxxx Cc: php-db@xxxxxxxxxxxxx Subject: Re: 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