note 18438 added to function.include-once

From: Date: Wed, 23 Jan 2002 05:50:10 +0000
Subject: note 18438 added to function.include-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-25729@lists.php.net to get a copy of this message
In PHP 4.0.6, you have put a 'return;' statement in your include file, something like this: <?php // this is a file to be readed by inlude_once() return; ?> If you don't put the 'return;' statement in the include file, and then call session_start() after include_once(), you will get and error. -- http://www.php.net/manual/en/function.include-once.php http://master.php.net/manage/user-notes.php?action=edit+18438 http://master.php.net/manage/user-notes.php?action=delete+18438 http://master.php.net/manage/user-notes.php?action=reject+18438

« previous php.notes (#25729) next »