Ok... so now I have:
$fp = fsockopen ("www.mydomain.com/data/accommodations/3.jpg", 80,$errno, $errstr, 30);
if ($fp) {
echo "file is there\n";
} else {
echo "no file found\n";
}
However this doesn't appear to work as I know that the file is there but it always tells me that "no file found"...
Any advice?
Thanks,
-dr