Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload

Status
Not open for further replies.

jovan40

Programmer
Dec 11, 2001
46
US
I want to have an article from another webpage upload to a section of my website. How would I do this?
 
Assuming you don't have control over what goes on the other website, the easiest way would be to just include an IFRAME on your site that points to the other site.

Another way may be to use something like this:
Code:
<script>
var xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); 
xmlHttp.open("GET","[URL unfurl="true"]http://yahoo.com",false);[/URL]
xmlHttp.send();
alert(xmlHttp.responseText)
</script>

But that may ask for extra rights from the user. You may want to use a server-side process for this as shown here:

Adam
while(ignorance){perpetuate(violence,fear,hatred);life=life-1};
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top