RE: [PHP-DB] Problem with cookies
| From: | Hutchins, Richard | Date: | Mon, 16 Feb 2004 18:02:17 +0000 |
| Subject: | RE: [PHP-DB] Problem with cookies | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32966@lists.php.net to get a copy of this message | ||
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@mayn.de]
> Sent: Monday, February 16, 2004 1:00 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] 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@rheyn.de
>
>
>