• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

How to place html on another website?

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
lynkey
Asked:
lynkey
2 Solutions
 
VincentPugliaCommented:
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
 
venkateshwarrCommented:

If the other site is yours... then simply redirect any request.....
0
 
Tacobell777Commented:
You could do this with Frames or IFrames
example:
<iframe src="http://www.cnn.com" width="100%" height="50%" scrolling="auto"></iframe>
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
kohashiCommented:
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
 
COBOLdinosaurCommented:
>>> 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
 
Tacobell777Commented:
He was not asking for any scripting was he? ;-)
0
 
COBOLdinosaurCommented:
LOL....  Sorry T777, I thought I was in another thread when I read that...  senility does that to you. ;^)

Cd&
0
 
Tacobell777Commented:
I know what that is like, I've doen it myself, no worries - happy xmas ;-))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now