Method to print current page name in PHP

This is the method to print current page name in PHP
<?php
echo basename($_SERVER['PHP_SELF']);
?>
🔥14 Views

Anu

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.