1 Star 0 Fork 1

Gitee 极速下载 / validform

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/haiercdboy/Validform
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
ajax_post.php 507 Bytes
Copy Edit Web IDE Raw Blame History
sean authored 2011-08-07 15:29 . version 3.0
<?php
header("Content-Type:text/html; charset=utf-8");
//sleep(3);
//表单数据是以POST方式提交过来;
//注意json数据必须严格按如下格式输出:{"info":"demo info","status":"y"};
//info: 输出提示信息;
//status: 返回提交数据的状态,是否提交成功。如可以用“y”表示提交成功,“n”表示提交失败,主要用在callback函数里根据该值执行相应的回调操作;
echo '{
"info":"数据已成功提交!",
"status":"y"
}';
?>

Comment ( 0 )

Sign in for post a comment

JavaScript
1
https://git.oschina.net/mirrors/validform.git
git@git.oschina.net:mirrors/validform.git
mirrors
validform
validform
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542