Parse ini file problem
| From: | Thodoris | Date: | Fri, 15 May 2009 08:09:54 +0000 |
| Subject: | Parse ini file problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-292606@lists.php.net to get a copy of this message | ||
I am trying to parse an ini conf file using parse_ini_file but fails without returning something. I found this which is probably the reason:
http://bugs.php.net/bug.php?id=44544
(the $ in the values)
The problem is that this file has more than 7500 lines so it's kind of difficult to use quotes in all fields and there are several other reasons that I want to avoid quoting the values. In addition to that PHP 5.3 (which fixes this) is not stable yet and thus I can't install it in a production machine.
So does anybody know any workarounds??
--
Thodoris