Hi
i'm including few files in php
let's say that main program is in
/var/
it's include 2 files
how can i check inside name1.php path to this included file ?
in name1.php code:
gives me /var/
is it possible to guess a path to name1.php?
gry online
i'm including few files in php
let's say that main program is in
/var/
it's include 2 files
Code:
include('/var/[URL unfurl="true"]www/tsest/dir1/dir2/name1.php');[/URL]
include('/var/www/tsest/dir1/dir2/name2.php');
how can i check inside name1.php path to this included file ?
in name1.php code:
Code:
echo $_SERVER['PHP_SELF'];
is it possible to guess a path to name1.php?
gry online