was trying to write a few simple codes using getimagesize on my computer the php dosent seem to eb able to use a url as a source just a local file but if i upload it to my web space it works as id expect help any ideas?
eg on my pc
Code: Select all
<?php $imgsz = getimagesize("http://www.somewebsite.com/image.gif");
echo "width= " . $imgszї0] . "<br>" . "height= " . $imgszї1] . "<br>" . "type= " . $imgszї2] . "<br>" . "img tags= " . $imgszї3]; ?>if I upload it to my webspace it works fine and i get values....
funnlly enough if I specifiy a local file ie c:\dir\dir\image.gif it works
any ideas here
thanks