Re: header functions and ... ?
| From: | Nicola Delbono | Date: | Mon, 23 Dec 2002 18:37:23 +0000 |
| Subject: | Re: header functions and ... ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17532@lists.php.net to get a copy of this message | ||
>i cannot use header because the headers are already sent.
You can use content buffering
look at
ob_start()
with that, you can print or echo whatever you want
and, at the middle or end of the script
you can send any header you like because
in fact you have not send any data to the browser
until you send
ob_flush(),