PHP | Get the current script filename | by Shraddha Paghdar | Medium
Best 5 Ways To Prevent Direct Access To A PHP File
Php & Web Developer - PHP super Globle.. $_SERVER['PHP_SELF'] Returns the filename of the currently executing script $_SERVER['GATEWAY_INTERFACE'] Returns the version of the Common Gateway Interface (CGI) the server is using $_SERVER['SERVER_ADDR']
Using PHP_SELF in the action field of a form | HTML Form Guide