Someone
public text v1 · immutable
file /abc/x.php:
<php
getcwd(); //will return path of y.php
//but i want to get the file of x.php not y.php
?>
file /y.php:
<php
includes 'abc/x.php';
?>
file /abc/x.php:
<php
getcwd(); //will return path of y.php
//but i want to get the file of x.php not y.php
?>
file /y.php:
<php
includes 'abc/x.php';
?>