Re: Getting current page name without path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/6/05, Bushra <bush2k2@xxxxxxxxxxx> wrote:
> Hi
> I want to get the name of current page. I use $PHP_SELF or
> SCRIPT_FILENAME, but it also provides the path name . I just want to
> retrieve the file name with extension. How can I do that?

http://www.php.net/manual/en/function.basename.php

  -robin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux