note 69034 deleted from function.dirname by danbrown

From: Date: Sun, 20 Jul 2008 19:03:28 +0000
Subject: note 69034 deleted from function.dirname by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142260@lists.php.net to get a copy of this message
Note Submitter: Tee Cee ---- Obviously, what you have to do is use functions that are meant to work on URLs and not filesystem paths. There is a big difference. All this dirname hackery can be avoided if you just code a urldirname that finds the last / in the file and does a suitable substring operation, but I'm currently too lazy to write the code.

« previous php.notes (#142260) next »