您现在的位置是:网站首页> 编程资料编程资料

Ajax跨域代理访问网络资源的实现代码_应用技巧_

2023-05-25 263人已围观

简介 Ajax跨域代理访问网络资源的实现代码_应用技巧_

smart.asp
复制代码 代码如下:



使用代码:
复制代码 代码如下:


<%
Response.charset="utf-8"
dim url,method,data,charset
url =Request.Form("targeturl")
method =Request.Form("method")
data =Request.Form("data")
charset = Request.Form("charset")
if charset = "" then charset = "GB2312"
response.Write SmartHttp(url,method,data).send().gettext(charset)
set myhttp = nothing
%>

代码打包下载

-六神源码网