Hey all, I've got a quandry. If you've ever browsed any Halo 2 forum, you may have seen something I made - the Halo 2 signature. Basically, it's a Flash app that uses PHP to retrieve the HTML from Bungie's website and sends that back into Flash for parsing and displaying stats.
Yesterday, Bungie made a change to their site, and now my PHP script is literally only returning the last line of the HTML. The script can return other websites fine, AND the same problem occurs from other servers, so I know it's nothing on my end. However, I need a way around it, as thousands of people use this signature and and I'm starting to get e-mails.
Here's the script, minus the hit counter:
<?php
extract($_REQUEST);
echo "file=" . urlencode(file_get_contents($filename));
?>
Obviously pretty basic, it just escapes the HTML and returns it to Flash. Here it is in action: Click
Like I said, only the last line. Now, view the source on the actual page and you'll see there's a lot more: Click
I have no idea how Bungie could accidentally break this, but I need to find a way around it. I don't care how, it just needs to grab the entire HTML from Bungie's page.
Ideas?