Re: [PHP-DEV] function basename()

2001-07-30 Thread Marcus
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Marcus! > On Thu, 26 Jul 2001, Marcus wrote: > > > shouldn't the function basename() return only the > > script part and not the query part? > I guess basename() is a filesistem function, and hence it doesn't m

Re: [PHP-DEV] function basename()

2001-07-29 Thread teo
Hi Marcus! On Thu, 26 Jul 2001, Marcus wrote: > shouldn't the function basename() return only the > script part and not the query part? I guess basename() is a filesistem function, and hence it doesn't make sense to care about `query string' cause in the file systems there are no such things. I

Re: [PHP-DEV] function basename()

2001-07-27 Thread Marcus
Yes $PHP_SELF exists but it contains just the actual script. And therefore i missed a function for extracting filenames from urls. I needed to extract the scriptname from the url to identify the navigation position marcus "Stig S. Bakken" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED

Re: [PHP-DEV] function basename()

2001-07-26 Thread Stig S. Bakken
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

[PHP-DEV] function basename()

2001-07-26 Thread Marcus
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/scri