php 字符串 以 开头 以结尾 startWith endWith
摘要:From: http://www.shipingzhong.cn/node/1217//第一个是原串,第二个是 部份串function startWith($str, $needle) { return strpos($str, $needle) === 0;}//第一个是原串,第二个是 部份串fu...
阅读全文
posted @
2015-10-22 12:53
清清飞扬
阅读(9141)
推荐(0) 编辑
MySQL错误ERROR 2002 (HY000): Can't connect to local MySQL server
摘要:From: http://www.jb51.net/article/56952.htm这篇文章主要介绍了MySQL错误ERROR 2002 (HY000): Can't connect to local MySQL server through socket,需要的朋友可以参考下在安装好了MySQL...
阅读全文
posted @
2015-10-16 12:56
清清飞扬
阅读(7530)
推荐(0) 编辑
php发送get、post请求的几种方法
摘要:From: http://blog.csdn.net/haha00217/article/details/7969504 方法1: 用file_get_contents 以get方式获取内容[php] view plaincopyprint?方法2: 用fopen打开url, 以get方式获取内容[...
阅读全文
posted @
2015-10-08 22:51
清清飞扬
阅读(340)
推荐(0) 编辑