warning message with browser redirecting
Posted: Sun Sep 25, 2005 2:43 pm
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.
<?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.