note 29678 rejected from function.parse-ini-file by didou
| From: | didou@php.net | Date: | Mon, 04 Aug 2003 17:11:33 +0000 |
| Subject: | note 29678 rejected from function.parse-ini-file by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53331@lists.php.net to get a copy of this message | ||
Note Submitter: programming@shrum.net
----
Certain characters in the value string case parse_ini_file() to fail.
If your value has an '=' in it like:
foo=bar=2
The function will fail.
Additionally, I have heard that '&' cause the same failure.
These 'special characters' need to be documented or the function needs to ignore them or a
EOLine argument needs to be added to it.
My 2 cents - Sean