472,352 Members | 1,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,352 software developers and data experts.

Displaying a webpage on another URL with ASP

I want to display everything from another page on my page. (I have permission as I did make the original page) I have what I found works so far below. Right now this script does not display any of the images. It only displays the text. I would appreciate any help as I think this should be straight forward and I am having a hard time with it.


<head><title>Test Page</title></head>

<%@ Language=VBScript %>

set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
objHTTP.Open "GET", "http://www.mysite.com", false
Response.Write objHTTP.ResponseText


Feb 28 '07 #1
1 1529
3,406 Expert 2GB
It pulls up the text but not the images because the text it sends to the browser seems to point to images on the site of the web page that the browser asked for. Does that make sense? I think you will either need to have the original page point to absolute URL of images:
Expand|Select|Wrap|Line Numbers
  1. <img src="http://www.origSite.com/common/images/spacer.gif">
rather than
Expand|Select|Wrap|Line Numbers
  1. <img src="/common/images/spacer.gif">
or you can place duplicate pictures on the new website in the same relative position they were in on the old.

Do you follow what I'm saying?

Feb 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Paul Beckett | last post by:
I have successfully used strtotime to format the date on a webpage that is pulled form a MySQL database in the form yyyy-mm-dd. However, in...
by: yawnmoth | last post by:
i'm trying to display text while a page is loading using a method similar to the following: <? ob_end_flush(); echo 'AAA<br>'; flush();...
by: Michel | last post by:
Hi, This is my first post and I may be asking a question that's got a very simple explanation. I hope. I'm building a website and testing it...
by: Jason Steeves | last post by:
Can someone please point me in the right direction for displaying word documents onto a webpage? The word documents will contain...
by: Johan Christensson | last post by:
Hi. Is there any other ways of displaying a webpage in an VB.Net form other then using the "Microsoft Web Browser" object? Any third-party? ...
by: sureshreddy | last post by:
hi friends, I want the time to be displayed for a webpage to redirect to another webpage. You can see this concept in job sites when we fill all...
by: mikec87 | last post by:
I am very new with PHP...started doing this a few days ago to help someone and I need some help please. I have a webpage that is not displaying the...
by: Jeff | last post by:
hi asp.net 2.0 I have a image (.jpeg) stored in sql server 2005 and now I want to display it on a webpage. So I created a webpage...
by: Nightcrawler | last post by:
I have a website that does the following: 1. it accepts a keyword through a textbox in the UI 2. once the submit button is clicked it goes out...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.