RE: [PHP] Any Cold Fusion users???

From: Date: Tue, 01 Aug 2000 23:08:09 +0000
Subject: RE: [PHP] Any Cold Fusion users???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9606@lists.php.net to get a copy of this message
GetFileFromPath(), to my recollection, would, given /usr/home/hans/file.txt output file.txt This could be done in this way, perhaps: $array = explode("/","/usr/home/hans/file.txt"); $c = count($array)-1; $filename = $array[$c]; // last element Hans On Tue, 1 Aug 2000, Christensen, BruceX R wrote: > What does this CF command do? > > --Bruce > > Does PHP have something along the lines of Cold Fusion's > #GetFileFromPath(GetTemplatePath())#. I would assume there is some way to do > this but I don't know what it's called and haven't run across an example > that seems to do this. > > Ed Hans Anderson ~ me@hansanderson.com PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia, http://www.hansanderson.com | Killer Audio Production, http://www.goofiness.com | Minty Fresh Breath.

« previous php.general (#9606) next »