Entrar





", $codigo );
foreach( $cod as $codLine ) {
$buffer[] = "$line  " . $codLine;
$line++;
}

$codigo = implode( "
", $buffer );
// HACK:
$codigo = str_replace( "1  ", "1  ", $codigo );
echo '

Este es tu código formateado

';
echo '

'.$codigo.'


';
//Gets the source from a file previously created and modified
$abrir=fopen("tmp.txt", "w"); //open file
fwrite($abrir, $codigo); //save code obtained previously
fclose($abrir); //close file
$url = 'http://formatealo.terysoftware.com/tmp.txt';
$lineas = file($url);
for ($i = 0; $i ";
}

echo '

Inserta este código en tu sitio

'.$resultado.'
';
}
?>