![]() |
getimagesize - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: getimagesize (/showthread.php?tid=23700) |
getimagesize - El Forum - 10-19-2009 [eluser]georgerobbo[/eluser] I am having trouble using the PHP function getimagesize. This is the error I get. Quote:A PHP Error was encountered Code: <?php $span = base_url() . "public/uploads/" . $a['filename'] . ".jpg"; $span = getimagesize($span); ?> getimagesize - El Forum - 10-19-2009 [eluser]John_Betong[/eluser] I am currently working on an image related site and was curious so ran some tests. The first time I tried getimagesize(...); worked fine, I tried on another browseer and it did not work so I tried to just open the image and it timed out. Fortunately the original image was still open in the first browser I tried. I downloaded the image to my desktop then uploaded to one of my sites. It now works everytime so it looks as though you have a problem with your site hosting. Can I interest you in site hosting ![]() http://johns-jokes.com/downloads/thesongofthesirens.jpg |