Solved

How  to place html on another website?

Posted on 2004-04-15
10
151 Views
Last Modified: 2010-04-09
My website is www.lkhealthsource.com and I want to place another website's html on my web site.  Please give me step by step instructions on how to do this.
0
Comment
Question by:lynkey
10 Comments
 
LVL 15

Accepted Solution

by:
VincentPuglia earned 25 total points
ID: 10838708
Hi,

1) if the site isn't yours, ask the webmaster.
2) if the site isn't in your domain, you need permissions -- else you will have problems with the code.
3) make an iframe and place the target site as the iframe's source

Vinny
0
 
LVL 12

Expert Comment

by:venkateshwarr
ID: 10838825

If the other site is yours... then simply redirect any request.....
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10839769
You could do this with Frames or IFrames
example:
<iframe src="http://www.cnn.com" width="100%" height="50%" scrolling="auto"></iframe>
0
 
LVL 7

Assisted Solution

by:kohashi
kohashi earned 25 total points
ID: 10841455
in php you can open that pages content via fopen() function.  That should grab the HTML, you will need to write the code yourself to connect, open and parse the proper information.  www.php.net has all the documentation you need.

-kohashi
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10842679
>>> You could do this with Frames or IFrames

Not if you are trying to script content.  The security issues has nothing to do with access.  Cross-domain scripting on the client is not permitted.

Cd&
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10845953
He was not asking for any scripting was he? ;-)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10846267
LOL....  Sorry T777, I thought I was in another thread when I read that...  senility does that to you. ;^)

Cd&
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10846685
I know what that is like, I've doen it myself, no worries - happy xmas ;-))
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now