Re: show_source

From: Date: Wed, 29 Oct 2003 00:19:59 +0000
Subject: Re: show_source
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-167954@lists.php.net to get a copy of this message
* Thus wrote Evan Nemerson (evan@coeus-group.com): > On Tuesday 28 October 2003 12:55 pm, nathan -- wrote: > > Is there a way to stop the function show_source() from putting extra code > > at the begginning and end of the code it grabs? > > Beginning: <code><font color="#000000"> > > Middle: <br /> > > End: </font></code> > > Not unless you modify Zend/zend_highlight.c and recompile > > > > I am doing a str_replace to get rid of it, but it would be nice to be able > > to pass a parameter to the funtion to stop it from adding the extra code. > > Anybody else have a desire for this? Or an ini entry? +1 and + on getting rid of the <font> tags Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/

« previous php.general (#167954) next »