Print Page | Close Window

Getting URL ?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=196
Printed Date: 28 March 2026 at 5:02pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Getting URL ?
Posted By: Dazz
Subject: Getting URL ?
Date Posted: 15 February 2003 at 2:53pm

Hi
Using the following script im trying to capture data on a page and show it on another website, it works fine however images do not display and i dont really want to have to upload them onto the server that this script runs off.
Has anyone got any ideas how i can make this script display images properly?

Any help would be greatly appreciated.

Regards Dazz

<%

' Intruduce the url you want to visit
GotothisURL = " http://www.server.co.uk/page.asp - http://www.server.co.uk/page.asp "


' Create the xml object
Set GetConnection = CreateObject("Microsoft.XMLHTTP")


' Conect to specified URL
GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send


' ResponsePage is the response we will get when visiting GotothisURL
ResponsePage = GetConnection.responseText


' We will write
if ResponsePage="" then
Response.write("The page is not available")
else
Response.write(ResponsePage)
end if


Set GetConnection = Nothing

%>




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net