[solved]How to require a file which is in root
Posted: Thu Jan 15, 2004 9:07 am
How can I require a file (located in root, file1.php) in an PHP-script (file2.php) which is not in the root?
Structure:
Structure:
Code: Select all
root
|_ file1.php
\_ somefolder
|_ file2.php
|_ somefile.php
|_ some_other_file.php