PHP: Escape illegal chars in .ini-files

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-03-29T10:31:02Z Indexed on 2010/03/29 10:33 UTC
Read the original article Hit count: 204

Filed under:
|
|

The documentation on parse_ini_file (http://php.net/manual/en/function.parse-ini-file.php) states that you can't use these chars {}|&~![()^" in the value. Is there some way to escape these chars? I need to use them. Normal escaping with \ doesn't seem to work.

© Stack Overflow or respective owner

Related posts about php

Related posts about ini-files