|
|
 |
FN-FORUM: PHP question
date posted 26th July 2006 14:19
I have a load of .php files (about 60) each with a line:
include('../../somefile.php');
However, ('../../somefile.php') is actually at ('../../../somefile.php')
Rather than change the include statement in each file to
('../../../somefile.php') I can vaguely remember seeing a way of creating a
somefile.php in the same folder and putting a kind of 'header location' type
statement in that file which kind of includes the contents of
../../../somefile.php without messing with the paths etc contained within
../../../somefile.php.
Make sense?
TIA
Mark
|
 |
|