Posted in   
       171
      12:08 am, March 20, 2019 
      asp classic get a url and display it
gets a url and displays it using XMLHTTP
    asp classic get a url and display it Demo
View Demo Full Screen View Demo New Tab
asp classic get a url and display it Code
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
 %>
  Add Comment
Other Items in asp
Related Search Terms
Other Categories in Code
php functions
  
php functions
  
php functions