[PHP] show_source or highlight_string wrapping

2004-04-19 Thread Aidan Lister
Why do these functions wrap at approximately 80 chars? It's stupid! How can this be worked around? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] show_source

2003-10-28 Thread Leif K-Brooks
Curt Zirzow wrote: +1 and + on getting rid of the tags What he said. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] show_source

2003-10-28 Thread Curt Zirzow
* Thus wrote Evan Nemerson ([EMAIL PROTECTED]): > 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: > > Middle: > > End: > > Not unless you modify

Re: [PHP] show_source

2003-10-28 Thread Robert Cummings
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: > > Middle: > > End: > > Not unless you modi

Re: [PHP] show_source

2003-10-28 Thread Evan Nemerson
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: > Middle: > End: Not unless you modify Zend/zend_highlight.c and recompile > > I am doing a str_replac

[PHP] show_source

2003-10-28 Thread nathan --
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: Middle: End: 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

[PHP] show_source question

2002-08-12 Thread eriol
I've got the following bit of code to work in showing the actual PHP file source code, but it doesn't show include() or require() files and I'd like it to.. -- source.php -- if(strlen($php)>0){ $php = $DOCUMENT_ROOT . $php; if (ereg("(\.php)$",$php) && !ereg("\/\.\.",

Re: [PHP] show_source()

2002-08-10 Thread Øystein Håland
This helped on my laptop (win2000, Apache 1.3.26, php 4.2.1, but when I uploaded to my webserver (SunOS (sparc), Apache 1.3.xx, php 4.0.6) only the first row was numbered (yes, I even tried \n instead). Is there another solution that could work? "Rasmus Lerdorf" <[EMAIL PROTECTED]> skrev i meddel