note 102166 added to function.include
| From: | itsols at gmail dot com | Date: | Mon, 31 Jan 2011 12:19:35 +0000 |
| Subject: | note 102166 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176525@lists.php.net to get a copy of this message | ||
This is a correction to the last post. I meant to include relative parent directory reference but
omitted it in the PHP code. It should have been like this:
<?php
include "../Info/Variables.php"; //note the use of PARENT reference "../"
?>
Alternatively, you could've moved the "Info" directory to www/MyProject.
----
Server IP: 69.147.83.197
Probable Submitter: 119.235.2.101
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/102166
Del: integrated -- https://master.php.net/note/delete/102166/integrated
Del: useless -- https://master.php.net/note/delete/102166/useless
Del: bad code -- https://master.php.net/note/delete/102166/bad+code
Del: spam -- https://master.php.net/note/delete/102166/spam
Del: non-english -- https://master.php.net/note/delete/102166/non-english
Del: in docs -- https://master.php.net/note/delete/102166/in+docs
Del: other reasons-- https://master.php.net/note/delete/102166
Reject -- https://master.php.net/note/reject/102166
Search -- https://master.php.net/manage/user-notes.php