• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

embed website on website?

Question

Brandon    299

im doing a website for my boy scout troop, and for the badge page, we want who is doing the badge, who is teaching the badge, and links to the requirments of the badge... those requirements are on another site. how can i embed that site into the page im making so it would appear to be in my site?

post-46-1085892233.jpg

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0
cq_    0

frames

Share this post


Link to post
Share on other sites
  • 0
bangbang023    31

iframe would actually be a little better.

Share this post


Link to post
Share on other sites
  • 0
OPaul    0

Or an IFRAME.

EDIT: nevermind, ^ he got it. So my post isn't pointless then you could also do an <INCLUDE ="blabla.html"> method, but that's just stupid.

Share this post


Link to post
Share on other sites
  • 0
Hankyone    0

hmm... frames... iframes... what the difference??

Share this post


Link to post
Share on other sites
  • 0
OPaul    0
Normal frames are used to divide the entire browser window (or a frame) to subwindows. Inline frames appear inside the presentation of a document much the same way as images are: the browser allocates some space for an inline frame and takes this into account when rendering the document. This means, in particular, that an inline frame as a whole scrolls along with the rest of the document, so it might be scrolled away. Whether this is positive or negative depends on the aims and nature of the page. (An inline frame usually has its own internal scroll bar too, for scrolling its own content.)

These features make inline frames an interesting possibility especially for embedding relatively small documents onto pages. On the other hand, as explained above, browser support to iframe is limited, more limited than for normal frames.

On the other hand, normal frames are usually resizable by the user, though the author might manage to prevent this (using the noresize attribute). Inline frames are not resizable any more than e.g. a table is, except in the sense that if the width or height is specified as a percentage, the actual width or height may change when the entire window is resized.

http://www.cs.tut.fi/~jkorpela/html/iframe.html

Share this post


Link to post
Share on other sites
  • 0
LiLViEtDuDe917    0

<iframe frameborder="0" border=0 width="800" height=600

src="index.html" name=iframe scrolling=yes

style="position:absolute;" allowtransparency="true"></iframe>

Share this post


Link to post
Share on other sites
  • 0
Anthony T.    5

I have never heard that one, but ok llbbl. (I don't think you are right).

Anyways, you could use PHP to do that same thing without all the problems.

Share this post


Link to post
Share on other sites
  • 0
llbbl    0

becareful with iframes. there are known vulerabilities to them that allow hackers to get access to your PC.

Share this post


Link to post
Share on other sites
  • 0
llbbl    0
Secunia Advisory: SA12959 Print Advisory 

Release Date: 2004-11-02

Last Update: 2004-12-01

Critical:

Extremely critical

Impact: System access

Where: From remote

Solution Status: Vendor Patch

Software: Microsoft Internet Explorer 6.x

Select a product and view a complete list of all Patched/Unpatched Secunia advisories affecting it.

CVE reference: CAN-2004-1050

Description:

A vulnerability has been reported in Internet Explorer, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a boundary error within the handling of certain attributes in the <IFRAME> and <FRAME> HTML tags. This can be exploited to cause a buffer overflow via a malicious HTML document containing overly long strings in e.g. the "SRC" and "NAME" attributes of the <IFRAME> tag.

Successful exploitation allows execution of arbitrary code.

The vulnerability has been confirmed in the following versions:

* Internet Explorer 6.0 on Windows XP SP1 (fully patched).

* Internet Explorer 6.0 on Windows 2000 (fully patched).

NOTE: This advisory has been rated "Extremely critical" as a working exploit has been published on public mailing lists. A variant of the MyDoom virus is now also exploiting this vulnerability.

Solution:

Apply patches.

Internet Explorer 6 SP1 on Microsoft Windows 2000 SP3/SP4, or on Microsoft Windows XP SP1:

http://www.microsoft.com/downloa...BD51-43...C1-D9A1E12963EC

Internet Explorer 6 SP1 on Microsoft Windows NT Server 4.0 SP6a, on Microsoft Windows NT Server 4.0 Terminal Service Edition SP6, on Microsoft Windows 98, on Microsoft Windows 98 SE, or on Microsoft Windows Me:

http://www.microsoft.com/downloa...6C13-4F...51-2C8A90E11C57

Internet Explorer 6 for Windows XP SP1 (64-Bit Edition):

http://www.microsoft.com/downloa...05cf-eb...3d-03e8969e0b5c

NOTE: The vulnerability does not affect systems running Windows XP with SP2 installed nor Windows Server 2003.

Provided and/or discovered by:

Discovered by:

ned

Additional research and exploit by:

Berend-Jan Wever

Changelog:

2004-11-04: Added link to US-CERT vulnerability note.

2004-11-09: Added information about virus exploiting this vulnerability. Added information about <FRAME> tag also being affected.

2004-11-18: Added CVE reference.

2004-12-01: Vendor issues patches.

Original Advisory:

MS04-040 (KB889293):

http://www.microsoft.com/technet/security/...n/ms04-040.mspx

Other References:

US-CERT VU#842160:

http://www.kb.cert.org/vuls/id/842160

http://secunia.com/advisories/12959/

Share this post


Link to post
Share on other sites
  • 0
Colin-uk    135

so its patched already? nothing to worry about then...

i would use iframe myself too

ive never heard of <INCLUDE="page.html"> :huh:

are you thinking of PHP includes?

im not sure if you can 'include' a remote page..

Share this post


Link to post
Share on other sites
  • 0
sublunary    0

or, if you feel amibtious, you can do it with php. put

&lt;?php include("otherpage.php"); ?&gt;

where you want the page to go. (but you have to have php

installed)

Share this post


Link to post
Share on other sites
  • 0
syko7ik    0

You can do includes with php, asp etc but unless you have these on your server then its no good and an iFrame is just as good for this purpose.

Llbbl, shut me up if I'm wrong but , the vulnerability you were talking about is a "malicious" person using iFrames on their site to disrupt the user's pc. So unless Caveman017 is a malicious serial boy scout "inconveniencer", I think it's safe to use iFrames. Besides it would be the server getting hacked not him (unless he was hosting it himself).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.