
php
文章平均质量分 77
神一样的编码
to build a whole new world
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php实现手机定位
最近在做通过定位手机用户,进行消息推送,经过分析最终做法如下 mobile.php文件 当用户当手机访问该页面时,通过实现页面表单隐藏封装自动提交获取手机浏览器经纬度并post给服务器 var position_option = { enableHighAccuracy: true, maximumAge: Infi原创 2015-05-02 11:33:52 · 6817 阅读 · 1 评论 -
php实现验证码
php实现图片验证码,具体代码如下: /* 绘制验证码 */ $num = 5; $str= getCode($num,2); //创建画布 $width = $num*20; $height = 30; $im = imagecreatetruecolor($width,$height); $color[0] = imagecolorallocate($im,100,18原创 2015-05-02 11:42:13 · 390 阅读 · 0 评论