RE: [PHP] need config file parsing code.
| From: | Lars Torben Wilson | Date: | Mon, 16 Jun 2003 22:57:30 +0000 |
| Subject: | RE: [PHP] need config file parsing code. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151748@lists.php.net to get a copy of this message | ||
On Mon, 2003-06-16 at 15:23, Daevid Vincent wrote:
> Off the top of your head huh? Damn... That's some code you churned out
> there. Just glanced through it, but I'm impressed you took that much time!
> Thanks! I'll clean it up and give it a go.
>
> d
Well, I had just finished writing the core of the code for a similar
thing a few days before, so I just fixed it up for your file format.
If you have any questions fire away. You should be able to just cut
the class into its own file, include_once(), and call the class on
your file. I left in some of the debug output (commented out) to
give some insight into what's going on inside if you want it.
Cheers,
Torben
--
Torben Wilson <torben@php.net> +1.604.709.0506
http://www.thebuttlesschaps.com http://www.inflatableeye.com
http://www.hybrid17.com http://www.themainonmain.com
-----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----