随笔分类 -  PHP

摘要:$str=''; $pattern="//"; preg_match_all($pattern,$str,$match); //print_r($match); return next($match) ; //0, 带img 标签 //1 ,直接是url 阅读全文
posted @ 2015-08-10 10:13 望远近 阅读(515) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-30 16:24 望远近 阅读(124) 评论(0) 推荐(0)
摘要:http://www.thomson.co.uk/blog/wp-content/uploads/infographic/interactive-music-map/index.htmlhttp://world.time.com/2013/12/05/nelson-mandelas-extraord... 阅读全文
posted @ 2015-07-30 15:34 望远近 阅读(177) 评论(0) 推荐(0)
摘要:1,修改mint 快捷键keyboard->快捷键 修改ctrl+alt+下箭头 回到phpstorm修改ctrl+alt+下箭头,可以复制当前行了 阅读全文
posted @ 2015-07-30 15:33 望远近 阅读(187) 评论(0) 推荐(0)
摘要:在使用 $_GET 变量时,所有的变量名和值都会显示在 URL 中。所以在发送密码或其他敏感信息时,不应该使用这个方法。不过,正因为变量显示在 URL 中,因此可以在收藏夹中收藏该页面。100字符限制 $_POST 变量用于收集来自 method="post" 的表单中的值。从带有 POST 方法的表单发送的信息,对任何人都是不可见的(不会显示在浏览器的地址栏),并且对发送信息的量也没有限制。 $_REQUEST 变量可用来取得通过 GET 和 POST 方法发送的表单数据的结果 阅读全文
posted @ 2014-04-06 19:42 望远近 阅读(181) 评论(0) 推荐(0)