title: Load a text/javascript into a PHP page
body: <p>I'm trying to load a javascript file into a PHP page and then i can use jquery load to bring that data into my website.</p>
  
  <pre><code>http://www.themoviequotes.com/widgets/javascript?n=1&amp;l=1&amp;g=3
  </code></pre>
  
  <p>This is the URL. If you put this into a browser it will display document.write etc and then the actual content i want.</p>
  
  <p>What PHP function could i use to get the data, i've tried file_get_contents but it returns all of the html/javascript tags etc...like this:</p>
  
  <pre><code>document.write("
  Finding Forrester (2000)
  
  William Forrester: Writers write things to give readers something to read.
  "); 
  </code></pre>