I have a PHP file called particular.php. I have included family.php inside particular.php with include function.
So when I do $_SERVER["PHP_SELF"] I get particular.php. I want to get file name family.php.
I have several files that needs to redirect to included file automatically. For that I need to get included files name rather than main file name.