note 23533 deleted from function.show-source by nlopess

From: Date: Fri, 09 Apr 2004 14:17:23 +0000
Subject: note 23533 deleted from function.show-source by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67882@lists.php.net to get a copy of this message
Note Submitter: o_lmo@hotmail.com ---- 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

« previous php.notes (#67882) next »