php - Extract html of other domain page -


this question has answer here:

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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -