Re: show_source

From: Date: Tue, 28 Oct 2003 23:56:41 +0000
Subject: Re: show_source
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-167951@lists.php.net to get a copy of this message
On Tue, 2003-10-28 at 16:33, Evan Nemerson wrote: > 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 Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#167951) next »