By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,051 Members | 1,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,051 IT Pros & Developers. It's quick & easy.

reading configuration files

P: n/a
Hi

I have a text file which I could access by smb with the following lines.

[XYZ]
Number= 203214

This looks similiar to the php.ini where are a reading routine could
read chapter and values
Is there a similiar reading/writing method available. I want to read the
"Number" increment it by one and store the it then.

regards

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.*****@fz-juelich.de
-------------------------------------------------------------------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/i...lib_intro.html
================================================== =================
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <c6***********@zam602.zam.kfa-juelich.de>,
Reimar Bauer <R.*****@fz-juelich.de> wrote:
Hi

I have a text file which I could access by smb with the following lines.

[XYZ]
Number= 203214

This looks similiar to the php.ini where are a reading routine could
read chapter and values
Is there a similiar reading/writing method available. I want to read the
"Number" increment it by one and store the it then.


parse_ini_file() ?

<http://nl.php.net/parse_ini_file>

JP

--
Sorry, <de*****@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.