Have you ever found it necessary to get page name of currently opened PHP file. If Yes, Then following one line of code can be useful for you.
<?php $page = basename($_SERVER['PHP_SELF']); ?>
Have you ever found it necessary to get page name of currently opened PHP file. If Yes, Then following one line of code can be useful for you.
<?php $page = basename($_SERVER['PHP_SELF']); ?>
No Comment