Getting JavaScript data arrays from webpage
<p>OK, so this webpage does things different. It uses text files and loads the data in JavaScript and then displays it in JavaScript. I tried using PHP methods but I can't get it.</p>

<p>How do I get the <code>S</code> array of player hiscores from <a href="http://queville.com/cgi-bin/forums/index.cgi?a=scores&amp;b=Overall" rel="nofollow">http://queville.com/cgi-bin/forums/index.cgi?a=scores&amp;b=Overall</a></p>

<p>Like, if you view the source, you'll see this between <code>&lt;script&gt;</code> <code>&lt;/script&gt;</code> tags:</p>

<pre><code> S[na]="|Daminion|442776|30436|125645|90728|40835|79058|16318|15927|43700|129|0|"; na++; 
 S[na]="|superfly|442490|32398|32032|161903|93689|75086|20018|11020|15937|407|0|"; na++; 
 S[na]="|GodessCrystal|435702|46422|41721|95881|43717|105026|23324|23500|30296|25815|0|"; na++; 
 S[na]="|grandkool|432065|110849|34644|12438|7706|165145|60924|12436|23446|4477|87|"; na++;
</code></pre>

<p>I've tried using PHP's <code>file_get_contents</code> and like but it doesn't work...</p>
