Christian271
08-03-2008, 02:49 AM
I'm trying to save the source code of another site to a variable, but I have on idea on how to do it! Can I get some help?
|
||||
saving source code of another site to a variableChristian271 08-03-2008, 02:49 AM I'm trying to save the source code of another site to a variable, but I have on idea on how to do it! Can I get some help? Philip M 08-03-2008, 07:56 AM That cannot be done. For security reasons JavaScript cannot access anything beyond the domain of the current page. This is known as the "same origin policy" and prevents a document or script loaded from one origin from getting or setting properties of a document from a different origin. Christian271 08-03-2008, 05:24 PM I have seen other sites do similar things, what code did they use? BubikolRamios 08-03-2008, 11:48 PM use java or php, that is, server side languages. Christian271 08-04-2008, 02:10 AM Thanks! |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum