- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 zend studio的一些设置问题
1.修改zend studio新建项目默认储存路径 2.修改zend studio的编码 3.修改zend studio代码的字体
2013-08-26 21:30:07
750
原创 安装Zend Studio的方法---新手
安装Zend Studio的方法---新手 首先需要说明下,本人也是一个菜鸟,也是不久前在接触到php的学习。 在学习php的过程中,遇到了安装zendstudio的困难,不知道在哪里下载zendstudio?不知道如何安装zendstudio?不知道用什么版本的zendstudio? 以下是我自己在学习php过程中的总结 那么下来我接写下我的几点建议:
2013-08-23 21:33:35
751
原创 PHP验证码类
php验证码类 如果不适用指定的字体,那么就用imagestring()函数,如果需要遇到指定的字体,就要用到imagettftext()函数。 <?php class VerificationCode{ private $charset="abcdefghjkmnpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ23456789"; //随机因子 private
2013-08-01 21:06:15
527
原创 PHP+AJAX无刷新返回天气预报
用php来写一个天气预报的模块 天气数据是通过采集中国气象网站的。本来中国天气网站也给出了数据的API接口。以下是API的地址。返回的数据格式为json格式。 1. http://www.weather.com.cn/data/sk/101010100.html 2. http://www.weather.com.cn/data/cityinfo/101010100.html 3.
2013-07-30 20:05:49
710
原创 AJAX实现省市联动
province.php select province and city function $(id){ return document.getElementById(id); } function getCity(){ var http_request=createAjax(); var url="/ajax/province_do.php"; var d
2013-07-01 20:56:09
766
原创 php解析xml
index.php ajax function $(id){ return document.getElementById(id); } function checkName(){ var http_request=createAjax(); http_request.onreadystatechange=function(){ if(http_reques
2013-06-28 20:40:52
464
原创 ajax返回json类型的数据,用js处理json类型的数据
index_do.php <?php header("Content-Type:text/html;charset=utf-8"); header("Cache-Control:no-cache"); $username=$_POST['username']; $info=""; if ($username=='admin'){ $info='{"name":"owen","age
2013-06-28 20:10:49
842
原创 关于AJAX实现验证用户名是否重复
index.php 以下代码:是传送方式是get,数据类型为文本responseText ajax function $(id){ return document.getElementById(id); } function checkName(){ var http_request=createAjax(); http_request.onreadystate
2013-06-27 22:59:51
895
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅