note 23321 added to function.include
| From: | dom at brainwaveuk dot com | Date: | Mon, 15 Jul 2002 16:09:06 +0000 |
| Subject: | note 23321 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33089@lists.php.net to get a copy of this message | ||
In reply to mindwiredave:
include is a function, so you need to send it the arguments in brackets, so your second piece of
code should be
<?php
session_start();
echo $conf;
include ($conf);
?>
but take note of the above entry!
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+23321
http://master.php.net/manage/user-notes.php?action=delete+23321
http://master.php.net/manage/user-notes.php?action=reject+23321