here's the deal, I'm querying a database which holds URLs to pictures, using pg_result i get the url field, then i do GetImageSize($url); $url being the result of pg_result
It says it is unable to open the file, but it prints out the url and it is correct. Needless to say, I don't get it 🙂
Here is some more specific examples:
$query = "select * from pictures where id = '$id'";
$result = pg_exec ($dbconnect,$query);
$picture = pg_result ($result,0,url);
$picinfo = GetImageSize ($picture);
Warning: Unable to open http://www.crudpot.net/multimedia/pictures/DrMario.jpg in /home/chief/public_html/crudpot/picture.php on line 11
line 11 is: $picinfo = GetImageSize ($picture);