Re: quotes in php.ini

From: Date: Wed, 29 Oct 2003 07:09:58 +0000
Subject: Re: quotes in php.ini
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-167976@lists.php.net to get a copy of this message
* Thus wrote Evan Nemerson (evan@coeus-group.com): > 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??? Try reversing the quotes: error_prepend_string = "<font color='#ff0000'>"; Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/

« previous php.general (#167976) next »