[SOLVED] help needed not coding settings i think
Posted: Sun Mar 14, 2004 9:33 pm
recently installed php4 and apache2 and mysql onto my computer (yes win2k)
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
produces a nice list of width= height= etc with no numbers
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
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