Re: quotes in php.ini

From: Date: Wed, 29 Oct 2003 04:39:48 +0000
Subject: Re: quotes in php.ini
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-167975@lists.php.net to get a copy of this message
On Tuesday 28 October 2003 11:29 pm, Rolf Brusletto wrote: > Evan Nemerson wrote: > >Is anyone aware of a way to get double quotes in the php.ini file? For > >instance, I'd like to be able to set error_prepend_string to "<font > >color=\"#ff0000\">" (which doesn't work). > > > >The only work-around I can think of is doing ini_set()'s in an > >auto_prepend_file, and that's not acceptable for my purposes. > > Why not use single quotes around the actual setting.. i.e. Because I get a parse error. Does it work for you? If so, what version of PHP are you using??? > > error_prepend_string = '<font color="#ff0000">'; > > Rolf Brusletto > www.phpexamples.net -- Evan Nemerson evan@coeus-group.com -- "If anyone can show me, and prove to me, that I am wrong in thought or deed, I will gladly change. I seek the truth, which never yet hurt anybody. It is only persistence in self-delusion and ignorance which does harm." -Marcus Aurelius

« previous php.general (#167975) next »