Return to Snippet

Revision: 19713
at October 29, 2009 09:42 by xida


Initial Code
$file = $_SERVER["SCRIPT_NAME"];
$break = Explode('/', $file);
$pfile = $break[count($break) - 1];
echo $pfile;

Initial URL


Initial Description


Initial Title
Get current script name without dir

Initial Tags


Initial Language
PHP