上一页 1 ··· 12 13 14 15 16
摘要: 使用某个PHP代码格式化的工具。源代码:if ($this->_standardize_newlines == TRUE){ if (strpos($str, "\r") !== FALSE) { $str = str_replace(array("\r\n", "\r", "\r\n\n"), ... 阅读全文
posted @ 2015-01-27 09:52 osfipin 阅读(672) 评论(0) 推荐(0) 编辑
摘要: Mysql保留字列表。吠品整理。尝试使用一个识别符,例如使用嵌入式MySQL数据类型或函数名作为表名或列名,例如TIMESTAMP或GROUP,会造成一个常见问题。允许你这样操作(例如,ABS可以作为一个列名)。但是,默认情况下,在数调用中在函数名和后面的‘(’字符之间不允许有空格。该要求使函数调用... 阅读全文
posted @ 2015-01-25 12:04 osfipin 阅读(25491) 评论(0) 推荐(1) 编辑
摘要: mysql中int、bigint、smallint和tinyint的区别与长度未完待续。。。 阅读全文
posted @ 2014-09-29 14:24 osfipin 阅读(515) 评论(0) 推荐(0) 编辑
摘要: HTML页面中加入代码js.php代码:经常有网站采集cnblog博客里的文章 哈哈哈 阅读全文
posted @ 2014-07-27 16:31 osfipin 阅读(772) 评论(0) 推荐(0) 编辑
摘要: php 过滤英文标点符号 过滤中文标点符号代码 function filter_mark($text){ if(trim($text)=='')return ''; $text=preg_replace("/[[:punct:]\s]/",' ',$text); ... 阅读全文
posted @ 2014-06-12 09:03 osfipin 阅读(1495) 评论(0) 推荐(0) 编辑
摘要: PHP 后台定时循环刷新某个页面如果间隔时间过长的话 会出现apache自动停止的现象。出现的原因则是设置了 ThreadsPerChild 450 MaxConnectionsPerChild 3000错误日志报错[mpm_winnt:notice] [pid 126... 阅读全文
posted @ 2014-04-29 13:02 osfipin 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: php 生成随机字符串可以指定是纯数字 还是纯字母 或者混合的。可以指定长度的。 1 function rand_zifu($what,$number){ 2 $string=''; 3 for($i = 1; $i <= $number; $i++){ 4 //混合... 阅读全文
posted @ 2014-04-17 14:52 osfipin 阅读(956) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16
我是底部