03 2017 档案

摘要:本地环境:windows 7 64位 PhpStorm版本:2016.1 PHP版本:5.6 参考:Xdebug+phpstorm配置 参考:本地环境phpStorm10+XDebug配置和断点调试 第一步:安装Xdebug 本地的环境是用phpStudy搭建的,直接在phpStudy可以勾选Xde 阅读全文
posted @ 2017-03-31 11:37 azcqwezxc 阅读(312) 评论(0) 推荐(0) 编辑
摘要:function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null) 阅读全文
posted @ 2017-03-28 17:12 azcqwezxc 阅读(221) 评论(0) 推荐(0) 编辑
摘要:例: * * * * * /usr/bin/curl http://www.a.com/script.php //通过url访问php脚本,相比下面方法效率低 * * * * * /usr/bin/php -f /var/www/web/script.php //通过本地php环境访问php脚本,如 阅读全文
posted @ 2017-03-28 10:21 azcqwezxc 阅读(145) 评论(0) 推荐(0) 编辑
摘要:JQ实现:$('#header').load('../templates/head.html');//包含头部 阅读全文
posted @ 2017-03-13 09:25 azcqwezxc 阅读(186) 评论(0) 推荐(0) 编辑
摘要:php/*上传图片方法*/$type = isset($_REQUEST['type']) ? $_REQUEST['type'] : ''; //上传图片if($action=='upload' && $type == 'img'){ if ($_FILES["timg"]["error"] > 阅读全文
posted @ 2017-03-07 12:35 azcqwezxc 阅读(783) 评论(0) 推荐(0) 编辑
摘要:$person = array( array('num'=>'001','id'=>6,'name'=>'zhangsan','age'=>21), array('num'=>'001','id'=>7,'name'=>'ahangsan','age'=>23), array('num'=>'003 阅读全文
posted @ 2017-03-06 14:49 azcqwezxc 阅读(92) 评论(0) 推荐(0) 编辑
摘要:/*php部分*///分页方法function page_list($sql,$num) //参数:查询语句,每页显示条数{ include ('../configs/db.init.php'); $sql = $sql; $result = $mysqli->query($sql); $count 阅读全文
posted @ 2017-03-06 09:39 azcqwezxc 阅读(669) 评论(0) 推荐(0) 编辑
摘要:徽标+r 输入regedit 打开注册表 HKEY_CURRENT_USER\Control Panel\Mouse 在Mouse项的右侧窗格中找到MouseHoverTime修改数值,单位为毫秒。 如果你苦苦寻觅了很久、对于这篇文章相见恨晚,点个赞! 阅读全文
posted @ 2017-03-02 16:09 azcqwezxc 阅读(1343) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示