php
大鲸
活泼、阳光、努力、理想
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php copy中文文件名文件
现象:php 复制中文名的文件时,总是报错! 背景:php文件本身为utf-8编码,window操作系统默认的中文编码为gb2312 解决方案: /* *basename()的替代函数,解决basename无法处理中文的问题 */ function get_basename($filename) { return preg_replace('/^.+[\\\\\\/]/', '',原创 2012-11-12 22:40:44 · 3814 阅读 · 0 评论 -
xmlrpc Warning: xmlrpc_is_fault() expects parameter 1 to be array的处理
PHP手册当中提示: Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should b原创 2012-11-16 12:03:20 · 802 阅读 · 0 评论 -
uploadfiy 3.0
uploadfiy v3.0中按钮可以轻易修改成中英文,而不至于想2.xx版本中,需要对中文进行编码。 3.0中圆圆的按钮,很漂亮。 但是,3.0中去掉了原来的onComplete函数,并且也去掉了从服务器端返回的response $("#bibtext_upload").uploadify({ swf :'images/uploadify.swf', uplo原创 2013-08-12 14:50:29 · 1302 阅读 · 0 评论
分享