Re: Cookies
| From: | Simon Robson | Date: | Mon, 14 May 2001 08:47:58 +0000 |
| Subject: | Re: Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52663@lists.php.net to get a copy of this message | ||
Hi,
You should look into output buffering:
http://www.php.net/manual/en/ref.outcontrol.php
There's a few tutorials listed in the user contributed notes at the end too.
Simon
At 10:10 14/05/01 +0100, Sascha Andres wrote:
hi, i want to set cookies. cookies can only be set before <html> and <head> tags. i think this is because php sends all output immediatly. is there a statement that stops sending immediatly and a statement that tells to send now (at the end of the doc)? ciao sascha