Re: show_source

From: Date: Tue, 28 Oct 2003 21:33:11 +0000
Subject: Re: show_source
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167948@lists.php.net to get a copy of this message
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? > > Thanks for your time. > Nathan Maki > > _________________________________________________________________ > See when your friends are online with MSN Messenger 6.0. Download it now > FREE! http://msnmessenger-download.com -- Evan Nemerson evan@coeus-group.com -- "A popular government, without popular information, or the means of acquiring it, is but a Prologue to a Farce or a Tragedy - or perhaps both. Knowledge will forever govern ignorance, and a people who mean to be their own Governors must arm themselves with the power which knowledge gives." -James Madison

« previous php.general (#167948) next »