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

Accessing Content Cross-Domain

Discussion in 'Off Topic' started by James, Mar 29, 2011.

  1. James

    James 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?

Share This Page