Page 1 of 1

warning message with browser redirecting

Posted: Sun Sep 25, 2005 2:43 pm
by gorzilla2007
Hiya, heres my code...

<?php
...
/* $str3 is string from text file */
...

$URL = $str3;
header('Location: '.$URL); /
exit;
?>

And Heres the problem...

ERROR MESSAGE:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/domains/perpleplanet.net/docs/temp/check_search.php:4) in /var/www/domains/perpleplanet.net/docs/temp/check_search.php on line 72

Any help would be great. Thanks.

Posted: Sun Sep 25, 2005 2:46 pm
by John Cartwright