飞利浦 HQ30 剃须刀
作者:cmscn 日期:2009-11-22
HTML & XML 转义字符
作者:cmscn 日期:2009-11-20
解决MYSQL出现Can't create/write to file '#sql_5c0_0.MY
作者:cmscn 日期:2009-10-20
PHP 版的 Javascript 压缩混淆工具 [ Dean Edwards Packer ]
作者:cmscn 日期:2009-09-27
Dean Edwards 's Packer 是个非常有名的 Javascript 压缩/混淆工具,有 .NET / PERL / WSH / PHP 等几种版本, 而本文介绍的 就是Nicolas Martin 发布的 PHP 版。
使用说明:
所有声明,包括 function 函数定义,必须以分号结尾,示例代码:
Javascript: // sample code var $input, $output; // notice the semi-colon at the END of function declarations onload = function() { $input = document.getElementById("input"); $output = document.getElementById("output"); _clearAll(true); }; function _packScript() { $output.value = pack($input.value); }; function _clearAll($focus) { $output.value = $input.value = ""; // the "if" statement is NOT terminated with a semi-colon if ($focus) { $input.focus(); } };
使用说明:
所有声明,包括 function 函数定义,必须以分号结尾,示例代码:
Javascript: // sample code var $input, $output; // notice the semi-colon at the END of function declarations onload = function() { $input = document.getElementById("input"); $output = document.getElementById("output"); _clearAll(true); }; function _packScript() { $output.value = pack($input.value); }; function _clearAll($focus) { $output.value = $input.value = ""; // the "if" statement is NOT terminated with a semi-colon if ($focus) { $input.focus(); } };
Tags: 压缩
flv播放器
作者:cmscn 日期:2009-09-26
<object width="400" height="222" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="http://news.mydrivers.com/images/flv_player.swf" name="movie" />
<param value="high" name="quality" />
<param value="vcastr_file=/img/flash/20090926/12234648.flv" name="FlashVars" /><embed width="400" height="222" plugspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" quality="high" src="http://news.mydrivers.com/images/flv_player.swf" flashvars="vcastr_file=/img/flash/20090926/12234648.flv"></embed></object>
<param value="http://news.mydrivers.com/images/flv_player.swf" name="movie" />
<param value="high" name="quality" />
<param value="vcastr_file=/img/flash/20090926/12234648.flv" name="FlashVars" /><embed width="400" height="222" plugspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" quality="high" src="http://news.mydrivers.com/images/flv_player.swf" flashvars="vcastr_file=/img/flash/20090926/12234648.flv"></embed></object>