note 98064 added to function.include

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
If you can't change your include path or you have to leave some php libraries where they are, you can just do a chdir($localdir) before the include or require statement to make sure that the local dir now is $localdir.

This is the typical case if you have to include some other app classes and you do not want to move the app files around.

This is just a workaround for those who can't benefit from all other solutions proposed.
----
Server IP: 81.88.49.3
Probable Submitter: 217.72.97.197
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit        -- https://master.php.net/note/edit/98064
Del: integrated  -- https://master.php.net/note/delete/98064/integrated
Del: useless     -- https://master.php.net/note/delete/98064/useless
Del: bad code    -- https://master.php.net/note/delete/98064/bad+code
Del: spam        -- https://master.php.net/note/delete/98064/spam
Del: non-english -- https://master.php.net/note/delete/98064/non-english
Del: in docs     -- https://master.php.net/note/delete/98064/in+docs
Del: other reasons-- https://master.php.net/note/delete/98064
Reject      -- https://master.php.net/note/reject/98064
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.