使用方法:如果你仅需要播放一个FLV文件[例如“video.flv”],那么只要把“video.flv”和压缩包内的flvplayer.swf复制到同一个目录内,然后在页面内添加 程序代码 <object type=”application/x-shockwave-flash...

代码示例: <div id=”player1″><object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#versi...

0

FCKeditor限制图片上传尺寸

Posted in PHP at 十二月 9th, 2009 / No Comments »

1.         修改/fckeditor/editor/filemanager/connectors/php/config.php 注意:50的单位是 Kb $Config['AllowedExtensions']['Image'] = array(‘bmp’,'gif’,'jpeg’,'jpg̵...

0

在php中设置时区

Posted in PHP at 十二月 7th, 2009 / No Comments »

date_default_timezone_set (“PRC”); php时区设置老差8个小时解决办法2009-11-26 10:07发现一个问题 date(“Y-m-d G:i T”,time()) 取出来的时间和本地时间老差8个小时,可 我的系统明明是中国 标准时(GMT+8)...

0

jquery图片大小自适应

Posted in JavaScript at 十二月 2nd, 2009 / No Comments »

<style> img{     display:inline !important;     display:none;     max-width:100px;     border:0; } </style> </head> <body> <script type=”text/javascript”...