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?  By the way,
where is that function?

Reply via email to