note 23533 added to function.show-source

From: Date: Sun, 21 Jul 2002 09:12:02 +0000
Subject: note 23533 added to function.show-source
Groups: php.notes 
Request: Send a blank email to php-notes+get-33357@lists.php.net to get a copy of this message
I noticed that there is a much faster way to put line numbers to a file... anyways, here i go: <html><body><ol><li> <? ob_start(); show_source( "THE_FILE!" ); $t = ob_get_contents(); ob_end_clean(); echo ereg_replace( "<br />" , "</li><li>" , $t ); ?> </li></ol></body></html> http://olmo.jonasj.dk/temp/ob_start.php -- http://www.php.net/manual/en/function.show-source.php http://master.php.net/manage/user-notes.php?action=edit+23533 http://master.php.net/manage/user-notes.php?action=delete+23533 http://master.php.net/manage/user-notes.php?action=reject+23533

« previous php.notes (#33357) next »