View Single Post
Old 05-30-2008, 04:23 PM   #1 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default header() function wont work

this is the only peice of code im putting on our server

Code:
<?php
header("Location: http://www.yahoo.com");
?>
and im getting this error

Code:
Warning: Cannot modify header information - headers already sent by (output started at /status/test.php:1) in /status/test.php on line 2
what can cause this? im going crazy
__________________
no signature set
sarmenhb is offline  
Reply With Quote