note 10221 rejected and deleted from include by zak
| From: | zak@php.net | Date: | Wed, 20 Dec 2000 05:08:28 +0000 |
| Subject: | note 10221 rejected and deleted from include by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8937@lists.php.net to get a copy of this message | ||
I've noticed using include() seems to send header information, preventing me from using, say...
header ("Location: http://www.mp3collective.net");
later on, however if I use the head("Location.... before the include, the script will finish
executing, then the header will take affect (in this case forwarding the user to the page). However
this is problematic when I want to decide later on in my code where I want to forward the user.