viernes, 16 de noviembre de 2012

Ejemplo de Lenguaje de Programacion




    
    SyntaxHighlighter Demo Page - <?= htmlspecialchars($title) ?>

 

 

$stringWithUrl = "http://alexgorbatchev.com";
$stringWithOutUrl = 'hello world';
 
ob_start("parseOutputBuffer");      // Start Code Buffering
session_start();
 
function parseOutputBuffer($buf) {
    global $portal_small_code, $portal_gzcompress;
    global $PHP_SELF, $HTTP_ACCEPT_ENCODING;
 
    // cleaning out the code.
    if($portal_small_code && !$portal_gzcompress) {
        $buf = str_replace("    ", "", $buf);
        $buf = str_replace("\n", "", $buf);
        $buf = str_replace(chr(13), "", $buf);
    }
}