It is possible to find out the script file name only through PHP. $_SERVER['PHP_SELF'] gives full path including the file name. I want just the file name.
It is possible to find out the script file name only through PHP. $_SERVER[‘PHP_SELF’]
Share
You can use it in conjunction with
basename()basename($_SERVER['PHP_SELF']);