Discussion:
How to escape double quotes in .ini
batykar
2010-04-13 15:14:18 UTC
Permalink
Hello,

I want to write something like:

something = " \"\" "
; \ not work


I use Zend_Config_Ini and ZF 1.0.3.

Thanks!
--
View this message in context: http://n4.nabble.com/How-to-escape-double-quotes-in-ini-tp1838559p1838559.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hector Virgen
2010-04-13 17:06:46 UTC
Permalink
Zend_Config internally uses PHP's built-in function parse_ini_file(), which
has some limitations such as lack of escaping. But if you are using PHP 5.3,
you can use single quotes around the value:

something = ' "" '

--
Hector
Post by batykar
Hello,
something = " \"\" "
; \ not work
I use Zend_Config_Ini and ZF 1.0.3.
Thanks!
--
http://n4.nabble.com/How-to-escape-double-quotes-in-ini-tp1838559p1838559.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Continue reading on narkive:
Loading...