• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Accessing Content Cross-Domain


Well-known member
Are there any methods available to bypass the same origin policy and grab content from another site? If not, would the only (PHP) method available be to use cURL?

If I wanted to grab the contents of the div with an ID of someDiv from www.example.com - how would I go about it? I was thinking of using AJAX to execute the PHP and return a result - is this the most efficient method?