实现基本Ajax技术
实例44 Ajax测试实例
实例45 客户端解析普通字符串
实例46 客户端解析XML文件响应
实例47 客户端发送POST无参数请求
实例48 客户端发送带有参数请求
实例49 客户端以表格形式显示数据
实例50 服务器端自动生成XML文件
实例51 客户端以指定CSS样式显示数据
实例52 用户登录校验
实例53 页面自动刷新时间
实例54 实现新闻滚动播放
Ajax technology to achieve the basic
Examples 44 Ajax test case
Example 45 clients resolve common string
Example 46 client parses the XML file response
Example 47 client sends POST request without parameters
Example 48 client sends a request with parameters
Example 49 client to display data in tabular form
Example 50 server automatically generates an XML file
Example 51 client display data to specify CSS styles
Example 52 user login validation
Example 53 pages automatically refresh time
Example 54 news scrolling achieve (2014-09-01, PHP, 65KB, 下载2次)
须要配置的地方
1:站点配置
网站名称 和 网站域名
2:淘客配置
里面的3项都很重要,缺一不可,需要填写您自己的信息
淘宝账号 填写的淘宝会员账号,可以是英文或中文。但不可以是abc@abc.com这种邮件格式!这个淘宝账号必须填写正确,因为会决定着PID的走向
淘客PID 淘宝联盟网站用淘宝会员登陆框登陆,进入我的联盟所查看得到的PID
App key 和App Secret 填写您自己的,如果没有可以登陆 http://open.taobao.com 去申请
关于服务器为Linux系统的目录权限设置
文件夹Apicache/
文件夹data/
文件夹template/
文件夹给权限777并继承子目录
list.php
goods.php
文件给777权限
登陆管理后台 http://您的域名/admin 初始账号为:admin 初始密码为:admin123
Need to configure the local one: Site Configuration Site Name and Domain Name 2: scouring off configuration inside the three are important and indispensable, you need to fill in your own information Taobao account fill Taobao member account, you can be in English or Chinese. But this can not be abc@abc.com mail format! Taobao account must fill this correctly as it will determine the direction of PID PID Taobao Amoy off Taobao Affiliate Member login box with landing, into my view for PID Union App key and App Secret fill in your own, if not you can visit http://open.taobao.com to apply for a Linux system on the server directory permissions set up folders Apicache/folder data/folder template/folder permissions to 777 and inherited subdirectory list.php goods.php file permissions to 777 landing management background http:// your domain/admin account for the initial: admin initial password: admin123 (2013-07-22, PHP, 4558KB, 下载3次)