php - Extract html of other domain page -
this question has answer here:
- ways circumvent same-origin policy 11 answers
what want do:
extract html of other domain.
what have tried:
$.get("http://website1.com", function(data) { alert("data loaded: " + data); });
(not working)
(for example) im owner of tow websites:
website1.com website2.com
now want html of website1.com
, show html in website2.com
using jquery or other way (website2.com support client-side languages ,website1.com support php).
how can it(im owner of website1 , website2)?
consider using iframe display page on page.
Comments
Post a Comment