Re: Cannot modify header information

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

 



on the top after <?php i.e php delimiter just mention as below
ob_start();

your problem will be solved.

Thanks
Elan.J


On Mon, Dec 21, 2009 at 1:16 PM, parekh dhaval <dhaval_ar@xxxxxxxxxxx>wrote:

>
>
> May be you started html tags above it anywhere or echo something above
> header function at anywhere in same file
> checkout cause before header function it should not be echo anything
>
> ________________________________
> From: webmaster <ken.poyser@xxxxxxxxxxx <ken.poyser%40olets3.info>>
> To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>
> Sent: Tue, 15 December, 2009 11:12:47 PM
> Subject:  Cannot modify header information
>
> 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
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]



------------------------------------

Are you looking for a PHP job?
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-objects/join
    (Yahoo! ID required)

<*> To change settings via email:
    php-objects-digest@xxxxxxxxxxxxxxx 
    php-objects-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


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

  Powered by Linux