On Mon, Feb 20, 2006 at 05:21:51PM -0500, Benjamin Adams wrote:
> I'm trying to parse a config file, example of the config is:
> [fred]
> id=8782
> section=s1
> years=4
> download1=mirror1
> ...
I'd say http://php.net/parse-ini-file is your best option.
Curt.
--
cat .signature: No such file or d
On Feb 20, 2006, at 2:21 PM, Benjamin Adams wrote:
I want to parse this so I can only call frank or freds data and move
id, section, years, etc to varaibles.
Can someone give me some help
Here is a function I wrote, I bet it will help you (sorry, not the most
readable because I pulled from bi
I'm trying to parse a config file, example of the config is:
[fred]
id=8782
section=s1
years=4
download1=mirror1
[frank]
id=8372
section=s3
years=4
download1=mirror12
download2=mirror2
.
.
.
I want to parse this so I can only call frank or freds data and move
id, section, years, etc to varaibl
3 matches
Mail list logo