Re: Cannot modify header information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



put 
"ob_start();"
at the top of the page 





--- In php-objects@xxxxxxxxxxxxxxx, "webmaster" <ken.poyser@...> wrote:
>
> My next problem I am having is 
> the  header function....
> 
> 
> my command is 
> 
> if (!$card_num) {
>     header ("Location: get_card.html");
>     exit;
>   }
> 
> 
> and I am get back Cannot modify header information - header is already
> by (output stared at ......) in ......  on line ##
> 
> 
> I have read something about whitespaces, in the location file,
> and it appears that there are no leading whitespaces in the location
> file
> 
> 
> Any suggestions,
> Ken
>



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux