Re: [PHP] Parsing Menu in Text File

2002-11-07 Thread Rishabh Gupta
structure needs to be independent of any programming language. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:3DCA5D5E.7090707@;webglobe.sk... > Why cannot you store it in the file as array and just include it. > Simpler and much faster > > > Rishabh G

[PHP] Parsing Menu in Text File

2002-11-07 Thread Rishabh Gupta
Hi all, I want to write a parser that would read a menu structure in a text file, parse it and then turn that into an array structure. The menu structure would use brackets to represent a new submenu and for each item in the menu there would be some extra properties. EG: Root ( Sub1 (

[PHP] auto appending for each directory

2001-02-06 Thread Rishabh Gupta
I'm developing a web page with a directory structure like this: /main -/subject1/ --/subsubsect11 --/subsubsect12 --/subsubsect13 --/subsubsect14 --/subsubsect15 -/subject2/ --/subsu