PHP Website Maker
Pages
Home
PHP Learning
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment