Re: function basename()

From: Date: Thu, 26 Jul 2001 15:11:45 +0000
Subject: Re: function basename()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61383@lists.php.net to get a copy of this message
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 guess you are trying to determine the name of the script from the query string or what exactly? If so, it's quite simple to use basename(__FILE__); -- teodor

« previous php.dev (#61383) next »