Monday, June 11, 2012

PHP - Get Current File Name


PHP - Get Current File Name


<body id="body_<?php echo $pageName; ?>">


<?php
    $pageName = basename($_SERVER[PHP_SELF]);
?>

No comments:

Post a Comment