26-12-2014, 11:13 AM
0
Muestra el codigo fuente coloreado de un script. Para hacerlo funcionar basta con cambiar "ruta_a_tu_script/fichero.php" por la ruta real y ejecutarlo.
Código PHP:
<?php
ob_start();
show_source( "ruta_a_tu_script/fichero.php" );
$t = ob_get_contents();
ob_end_clean();
echo ereg_replace( "<br />" , "</li><li>" , $t );
?>