john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

display an external website

How to display an external website:




in html...

<iframe src="http://news.google.com/">Google</iframe>

or
<iframe src="http://news.google.com/" width=100% height=900px>Google</iframe>


in php

$site = "http://dyanmicdrive.com";
echo $file_get_contents($site);


YOU CAN THEN USE A web content editor webpart in wss to display... if you want...



to get an https webpage is a bit more difficult...


JAVA...

As of 1.4, Https is included in J2SDK. Url url = new URL("https//www.yourweb.com"); HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();

  • « asp notes
  • css tutorial »

Published

Feb 6, 2010

Category

web

~64 words

Tags

  • an 5
  • display 7
  • external 5
  • web 56
  • website 5