On Thu, Aug 31, 2000 at 05:51:17PM -0400, Sam Varshavchik wrote:
> On Thu, 31 Aug 2000, Dan Melomedman wrote:
> 
> > On Thu, Aug 31, 2000 at 05:31:58PM -0400, Sam Varshavchik wrote:
> > > On Thu, 31 Aug 2000, Dan Melomedman wrote:
> > > 
> > > > Hi. What I am basically trying to do, is display folder list in
> > > > tree-like fashion when you are deep in folder tree. I need to know how
> > > > deep I am in the folder tree to calculate correct indents. I wonder if
> > > > there's already something like this in sqwebmail's code as it is not
> > > > obvious to me. One way of doing this would be (he he) counting dots in
> > > > 'folderdir', but that's too naive.
> > > 
> > > That's not naive at all.  Since a period is the official hierarchy
> > > separator character, this is the correct procedure.
> > > 
> > > >                                    I am confused by cgi(), what does it do?
> > > 
> > > It returns the value of a given CGI parameter.
> > > 
> > > -- 
> > > Sam
> > >
> > 
> > Hmm, wouldn't it be more efficient if we new that value from the
> > function that knows about the current directory we're in?
> 
> We're always in the same directory.
> 
> >                                                            By the way,
> > where is that function?
> 
> cgi subdirectory.
> 
> -- 
> Sam

I meant the current folder the user has clicked on.

Reply via email to