note 30337 added to function.include
| From: | ihopeyoudie at rack1 dot php dot net | Date: | Fri, 14 Mar 2003 12:26:22 +0000 |
| Subject: | note 30337 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45298@lists.php.net to get a copy of this message | ||
The best way to include your files in any directory is this
<?php include($DOCUMENT_ROOT . "_include/top.php"); ?>
where $DOCUMENT_ROOT is the root document in this server in this moment, and
"_include/top.php" is the name of your directory and file
function also whit require()
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+30337
http://master.php.net/manage/user-notes.php?action=delete+30337
http://master.php.net/manage/user-notes.php?action=reject+30337