Re: Cannot modify header information

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

 



Just review the line in the file where the error points:

by (output stared at ......) in ......  on line ##

And fix it.  It is sending output "before" the header in that line in 
that file.

A header needs to output first at all, previous to any other text or 
spaces sent to the output.

Regards,
warper

webmaster escribió:
> 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
>
>
>
>
>
> ------------------------------------
>
> Are you looking for a PHP job?
> Join the PHP Professionals directory Now!
> http://www.phpclasses.org/jobs/
> Yahoo! Groups Links
>
>
>
>
>   


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

  Powered by Linux