473,854 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying a webpage on another URL with ASP

1 New Member
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.

<html>

<head><title>Te st Page</title></head>
<body>

<%@ Language=VBScri pt %>



<%
set objHttp = Server.CreateOb ject("Msxml2.Se rverXMLHTTP")
objHTTP.Open "GET", "http://www.mysite.com" , false
objHTTP.Send
Response.Write objHTTP.Respons eText
%>




</body>
</html>


Thanks,
John
Feb 28 '07 #1
1 1572
jhardman
3,406 Recognized Expert Specialist
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?

Jared
Feb 28 '07 #2

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

Similar topics

2
3215
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 another part of the webpage, I have to insert another date that may contain a NULL entry in the database. If I use strtotime to format this then it enters the current date, whereas I want it left blank. Can anyone help? Paul Beckett
7
7093
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(); sleep(10); echo 'BBB'; ?>
3
3607
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 goes fine on Netscape and Mozilla. Pixel perfect.
8
2264
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 text/tables/pictures. I am new to this and can't quite find what I need. Thanks,
10
1249
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? /Johan Ch
1
1145
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 the details and click the search button it displays the results and displays as "Search Result returned within 0.041 seconds". I want to know how we can calculate the time. Give me a reply as soon as possible. If u know the code send to me. thanks in advance
3
1528
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 records I want it to. The sql is correct, and I think the php code is correct to display the result, but php just "seems" to echo the php code that I have embedded in the page (maybe a type that I have missed). No errors seem to be happening, but it just does not display any records. Can anyone help...
6
2201
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 (Image.aspx) which just writes the buffer data to the Response object. On Default.aspx I use this Image.aspx for displaying the image, but no image
3
1501
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 and spiders a few websites using the keyword supplied 3. it converts the returned html to xml 4. it uses LINQ to query the html page and stores the results in a database table 5. it then pulls the results from the database using a LINQ query ad displays them on a webpage
0
9901
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9751
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10678
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10751
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10367
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7914
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5940
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.