Revision: 11187
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 27, 2009 15:21 by xtheonex
Initial Code
function curPageName() { return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); }
Initial URL
Initial Description
Function to return the current page name, without the location of it... Eg, for the URL http://localhost/www/someproject/index.php, this would return index.php
Initial Title
Current page name
Initial Tags
php
Initial Language
PHP