Re: [PHP] Get previous folder

2003-07-22 Thread Groboski, Joshua
You could also explode() on "/" and have all your directories in an array. Joshua Groboski SAVVIS Communications http://www.savvis.net "David Nicholson" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... Hello, This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 13

Re: [PHP] Get previous folder

2003-07-10 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 13:04, lines prefixed by '>' were originally written by you. > Anyone know how I can stip off the end of a folder location, so that > it will > be a folder in the next level up? I want to turn something like this: > /path/

Re: [PHP] Get previous folder

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 20:03, Matt Palermo wrote: > Anyone know how I can stip off the end of a folder location, so that it > will be a folder in the next level up? I want to turn something like this: > > /path/to/folder/MyFolder/ > > into somthing like this: > > /path/to/folder/ > > I just need

[PHP] Get previous folder

2003-07-10 Thread Matt Palermo
Anyone know how I can stip off the end of a folder location, so that it will be a folder in the next level up? I want to turn something like this: /path/to/folder/MyFolder/ into somthing like this: /path/to/folder/ I just need to strip off the last folder and that is it. Can anyone help me