zoukankan
html css js c++ java
用ASP获取别的网页的内容
HTML
>
<
HEAD
>
<
title
>
Get
URL Text
</
title
>
</
HEAD
>
<
BODY
>
<
!
--
Author: Adrian Forbes
-->
<
form action
=
"
URLGetMSINet.asp
"
>
<
table border
=
0
>
<
tr
><
td
>
URL
</
td
><
td
><
input
type
=
text name
=
txtURL value
=
""
></
td
></
tr
>
</
table
>
<
input
type
=
submit value
=
"
Get Text
"
>
</
form
>
</
BODY
>
</
HTML
>
<
%@ Language
=
VBScript %
>
<
HTML
>
<
HEAD
>
<
META NAME
=
"
GENERATOR
"
Content
=
"
Microsoft Visual Studio 6.0
"
>
<
title
>
Get
URL Text
</
title
>
</
HEAD
>
<
BODY
>
<
!
--
Author: Adrian Forbes
-->
<
%
'
Set obj = CreateObject("InetCtls.Inet")
Set
obj
=
Server.CreateObject(
"
InetCtls.Inet.1
"
)
obj.RequestTimeOut
=
20
sRequest
=
trim
(Request(
"
txtURL
"
))
sText
=
obj.OpenURL (
CStr
(sRequest))
sText
=
"
<pre>
"
&
vbcrlf
&
Server.HTMLEncode(sText)
&
vbCRLF
&
"
</pre>
"
Response.Write sText
set
obj
=
nothing
%
>
</
BODY
>
</
HTML
>
查看全文
相关阅读:
[转] KVM I/O slowness on RHEL 6
QEMU KVM libvirt 手册(3)
QEMU KVM libvirt手册(2): monitor
QEMU KVM libvirt 手册(1): 安装
CentOS7下JSP连接Mysql
使用Tomcat搭建基于域名的虚拟机
CentOS7下搭建Tomcat服务器
Nginx在线服务状态下平滑升级或新增模块
源码安装LNMP
二进制包安装Mysql
原文地址:https://www.cnblogs.com/felix/p/316341.html
最新文章
理解Defer、Panic和Recover
使用Revel(go)开发网站
Java(Android)线程池[转]
Android线程和线程Handler基础一览
全面理解iOS开发中的Scroll View[转]
Quartz.NET入门
.net连接Oracle
.net4.0使用Dapper操作MySql
jQuery Migrate 插件用法
oracle sql生成临时递增数据
热门文章
小程序分页加载
小程序页面排版样式例子
小程序开发学习—2019年新个税计算器
Spring Boot 2 整合Swagger简单入门
[转] KVM Internals, code and more
[转] KVM虚拟化技术生态环境介绍
[转] KVM scalability and consolidation ratio: cache none vs cache writeback
[转] KVM VirtIO paravirtualized drivers: why they matter
[转] KVM storage performance and cache settings on Red Hat Enterprise Linux 6.2
[转] Vmware vs Virtualbox vs KVM vs XEN: virtual machines performance comparison
Copyright © 2011-2022 走看看