I've got a simple question
I've got 2 pages ... one called index.php (roots) and sample.php (folder:/sample/)
I wanna use server_uri to detect the current page ... but since the server_uri is in sample.php, when i require it in the index.php the only thing i'm getting is the path to sample.php.
Is there a way for sample.php to detect the page he's called in ( index.php ) and not the path to the required file (sample.php) ?
hmmmm! 😕
CAPTE !