摘要: <?php /* 调用腾讯的API接口0 为 IP地址1 为 null2 为 省份3 为 城市*/function get_ip_place(){ $ip=file_get_contents("http://fw.qq.com/ipaddress"); $ip=str_replace('"',' ',$ip); $ip2=explode("(",$ip); $a=substr($ip2... 阅读全文
posted @ 2011-02-20 11:21 Dufe王彬 阅读(1860) 评论(0) 推荐(0) 编辑
摘要: 什么是xdebug?xdebug是一个开放源代码的PHP程序调试器(即一个Debug工具),可以用来跟踪,调试和分析PHP程序的运行状况。xdebug现在的最新版本是xdebug 2.0.3,支持PHP4/PHP5。官方站点:www.xdebug.orgxdebug的安装及配置以PHP5.2.5,Windows平台为例:1. 登录www.xdebug.org,在首页右侧有一个Windows modules,选择其中的PHP5.2.1-5.2.6,下载php_xdebug-2.0.3-5.2.5.dll文件;2. 将下载的php_xdebug-2.0.3-5.2.5.dll放到你的PHP的ext 阅读全文
posted @ 2011-02-20 10:35 Dufe王彬 阅读(563) 评论(0) 推荐(0) 编辑