Skip to content

How to get page name in PHP?

echo basename($_SERVER['PHP_SELF']); /* Returns The Current PHP File Name */
See also  How to create a save command in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.