
PHP
Droid_少主
There are 10 types of people in the world: those who understand binary, and those who don't.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php 打印数组
php 打印数组 foreach, while(list($key,$value)=each($array)) foreach($array as $key=>$value) { echo "$key,$value "; } while(list($key,$value)=each($array)) { echo "$key,$value "; } 区别: 进行原创 2013-05-08 10:55:51 · 926 阅读 · 0 评论 -
Warning: Unknown: POST Content-Length of 53 bytes exceeds the limit of 0 bytes in Unknown on line 0
最近想在局域网中用PHP共享管理文件,考虑到可能会上传超大文件我把php.ini配置中post_max_size设为4096M,结果上传文件没有问题,普通的表单提交后出现如下的问题: Warning: Unknown: POST Content-Length of 53 bytes exceeds the limit of 0 bytes in Unknown on line 0 Warni转载 2013-06-28 17:27:11 · 3599 阅读 · 0 评论 -
PHP 判断是否为数字
判断是否为数字 /* 在php判断用户输入的是否为数字型或是否为数字型字符串,我们会用到is_numeric与intval函数来处理。 */ $num = 1; $num1 ='1'; $str ='abc'; if( is_numeric( $num ) ) { echo $num.'是数字型'; } //1是数字型 if( is_numeric(原创 2013-05-08 19:00:53 · 1008 阅读 · 0 评论