Ok, after reading a bit about fopen, I've come up with this script which is working just fine in grabbing the remote site:
<?php
ini_set("allow_url_fopen", "1");
$file = "http://www.bmo.com/cgi-bin/t3bmo.cgi/rates/viewRates.taf?rate=prime";
echo $file;
$file = fopen($file, "r");
echo $file;
$file = fread($file, 4096);
echo $file;
exit;
?>
It grabs the remote page and displays it properly. Now then, and this is where I figured I'd have the most problems ...
How do I parse out the interest rate from it? Can anyone give me some pointers on using regular expressions to do this?
The interest rate will always appear on line 18 as:
<td valign=middle align=center><font face="sans-serif" size="+2"><b> 4.500%</b></font></td></tr></table>
Thanks much,
B