well, the code I posted was just as an example, You would have to modify probably the starting and ending and possibly the url for that to work.
This also might not work because it is an asp page, You would be best to try to retrieve with Curl…
Here is a way to get a file with curl, It requires pear, but you can find that with a quick search… I think it actually should be able to run without it, but im not positive, I pulled this out of one of my heavily modified xml scripts…
[code]require_once ‘PEAR.php’;
$file = ‘http://www.example.com/page.html’;
/**
* check, if file is a remote file
*/
if (eregi(’^(http|ftp)://’, substr($file, 0, 10))) {
$tempFile = "Filename.txt";
$ch = curl_init($file);
$fp = fopen($tempFile, 'w');
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
$file = $tempFile;
}
[/code][/code]