Redirect to Another Page
Posted: Tue Dec 30, 2003 6:28 am
Hi All
I'm using the following command to redirect the user to another page.
header( "location: http://www.msn.com\r\n" );
But I allways received the following error message.
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/redirect.php:19) in /var/www/html/redirect.php on line 88
Does anyone can tell me what's the problem since I think I didn't send any headers before this command is executed.
thanks
I'm using the following command to redirect the user to another page.
header( "location: http://www.msn.com\r\n" );
But I allways received the following error message.
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/redirect.php:19) in /var/www/html/redirect.php on line 88
Does anyone can tell me what's the problem since I think I didn't send any headers before this command is executed.
thanks