Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- parse_ini_file yes/no aware?
- Dirk Laurenz
April 23, 2007, 1:56 pm
rate this thread
as far as i found out, parse_ini_file maps yes/no to php reserverd
This is not what i need. Is there any way to disable this behaviour?
I write some code to modify 3rd party ini files. everything is fine,
but not the
handling of "yes/no". Or, does anybody know a good open source class,
which implements this behaviour?
Re: parse_ini_file yes/no aware?
No way to change that behaviour. You're going to need to write your own
INI-parsing implementation. There are a few examples of how to do this in
the PHP manual on the parse_ini_file page, in the comments at the bottom.
Toby A Inkster BSc (Hons) ARCS
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!