Search This Blog

Monday, August 15, 2011

Including files outside the working directory

The title says it all. I want to include a file outside the current working directory.


Suppose my file is in the address “localhost/directory1/directory2″ and I want to include ‘core.inc.php’ located in “localhost/directory1″.


In this case is requiring that file possible? If so then how can I achieve this?

http://bit.ly/oe6Zbs

No comments:

Post a Comment