Hi there again people,
I looks like this thread turned into a 'include' usage
discussion. Well, nothing wrong with that.
The conclusion seems to be that ALL level of nested
included inherit current directory reference for
relative paths from the very first script ( that in
$_SERVER[SCRIPT_NAME]
Hi there,
I have 3 files in nested subdirectories
(1) /test.php
(2) /subdir1/test.php
(3) /subdir1/subdir2/test.php
(1) contains
//
(2) and (3) contains
/
if I call (3) it loops forever in (2) trying to
including itself.
I expected (2) correctly incl
Hi there
I have 2 scripts:
///
/
I get the output
test1.php
what I need is to detect the name of the script
from which I called the function, (test2.php) in this
case.
For this application, it is
3 matches
Mail list logo