note 86842 added to function.include
| From: | snowyurik at gmail dot com | Date: | Thu, 06 Nov 2008 06:49:17 +0000 |
| Subject: | note 86842 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146196@lists.php.net to get a copy of this message | ||
This might be useful:
<?php
include $_SERVER['DOCUMENT_ROOT']."/lib/sample.lib.php";
?>
So you can move script anywhere in web-project tree without changes.
----
Server IP: 195.54.192.44
Probable Submitter: 127.0.0.1
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/86842
Del: integrated -- https://master.php.net/note/delete/86842/integrated
Del: useless -- https://master.php.net/note/delete/86842/useless
Del: bad code -- https://master.php.net/note/delete/86842/bad+code
Del: spam -- https://master.php.net/note/delete/86842/spam
Del: non-english -- https://master.php.net/note/delete/86842/non-english
Del: in docs -- https://master.php.net/note/delete/86842/in+docs
Del: other reasons-- https://master.php.net/note/delete/86842
Reject -- https://master.php.net/note/reject/86842
Search -- https://master.php.net/manage/user-notes.php