第一篇, 當然要傳統一點, Hello world~ ※以下是範本修改測試...
/*********************************** ** Multiline block comments **********************************/ $stringWithUrl = "http://codingsnoopy.blogspot.com"; $stringWithUrl = 'http://codingsnoopy.blogspot.com'; 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); } }
沒有留言:
張貼留言