Thank you, but I've already tried fopen() and is_readable(), among other things. Here's a posting of my code, as the only other thing I can think of is that I'm just not coding correctly:
//checks for set variable
if ($rateid){
//checks if variable is not generic
if ($rateid != "ADSPACE") {
$url = "http://content.website.com/locator/dist.xpml?prod_id=".$rateid."&num_merch=5&rf=img";
if (is_readable($url)) {
print("<p><strong><font size=\"4\">Purchase Info for the $name</font></strong></p>");
print("<div align=\"center\"><script src=\"$url\"></script></div><br>");
print("<a href=\"http://www.website.com/marketplace/search/search__cat_id--402,prod_id--$rateid.html\">";
print("Click here for an explanation of the rating used above.</a>");
}
}
}
Thanks. I appreciate any help I can get.