Marcus wrote:
> 
> shouldn't the function basename() return only the
> script part and not the query part?
> 
> Yes i know it would make a difference if a filesystem could have '?' in
> filenames or if you wanted to handle those for search operations. But
> perhaps ther could be another switch or just a function
> filename/scriptname()

You're probably looking for the $PHP_SELF variable.  basename() is for
file names, not HTTP paths.

 - Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to