Posted in
5
12:08 am, March 20, 2019
asp classic get a url and display it
gets a url and displays it using XMLHTTP
HTML
<%
set XmlObj = Server.CreateObject("Microsoft.XMLHTTP")
XmlObj.open "POST", "https://google.com", false
XmlObj.send
formatdata = XmlObj.responseText
'formatdata = replace(formatdata,"<img src=""../images/logo.gif"">","<img src=""http://yourdomain.com/images/logo.gif"">")
Response.write(formatdata)
Set XmlObj = nothing
%>
<%
set XmlObj = Server.CreateObject("Microsoft.XMLHTTP")
XmlObj.open "POST", "https://google.com", false
XmlObj.send
formatdata = XmlObj.responseText
'formatdata = replace(formatdata,"","")
Response.write(formatdata)
Set XmlObj = nothing
%>
View Statistics
This Week
20
This Month
151
This Year
0
Add Comment
Other Items in asp
Related Search Terms
Other Categories in Code
c testing apache apps asp bat bootstrap bootstrap templates core css css grid design elements fancybox fonts foundation framework gimp git html icons ideas images javascript jquery js linux mac nginx node php php functions php simple html dom pi400 python react sections site bugs site documentation sql sqlite sublime svg templates tools virtual box webdev windows wordpress