ajax如何用php获取数据,别人的站点
它站js代码:$(function(){
$('.UserContact').after('
...
');
$.ajax({type:'POST',url:'/Ajax/AjaxUserInfo.aspx',data:({UID:$('.UserContact').data('id')}),dataType:'html',error:function(){alert('信息加载失败')},success:function(result){
$('.loading').remove();
$('.UserContact').after(result);
}});
请问我用php怎么获取它传递过来的信息
比如这个网站的地址是http://www.1.com
uid=3,id=10
如果我想用一段php代码获取它的值,完整代码怎么写
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn