RE: Problem with cookies

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

 



Normally, you get that warning when you've already sent display information
to the browser before you attempt to use the header() function. You need to
make sure you haven't sent ANY HTML to the browser prior to the header()
line in your code. You can check the PHP documentation regarding the
header() function.

Hard to tell without seeing your code though.

HTH,
Rich

> -----Original Message-----
> From: Ruprecht Helms [mailto:rhelms@xxxxxxx]
> Sent: Monday, February 16, 2004 1:00 PM
> To: php-db@xxxxxxxxxxxxx
> Subject:  Problem with cookies
> 
> 
> Hi,
> 
> I've some trouble with the handling of cookies. At the 
> command setcookie I get a 
> warning that the header is already set. How can I fix the problem.
> 
> Regards,
> Ruprecht------------------------------------------------------
> ------------------
> Ruprecht Helms IT-Service & Softwareentwicklung
> 
> Tel./Fax +49[0]7621 16 99 16
> 
> Web:      http://www.rheyn.de
> email:    info@xxxxxxxx
> 
> 
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux