Hi ChirstGuy,
The output on both servers was nothing. The page was blank when I used the following code only:
PHP Code:
<?
$currentFile = $_SERVER["SCRIPT_NAME"];
$parts = Explode('/', $currentFile);
print $parts[count($parts)];
?>
----------------
Hi Kevin,
I need to be able to have the script get the current file name without supplying the url. The script has to determine what the URL is on it's own and then break it down and output the current page/file name.
Thanks guys