note 16228 rejected from function.getimagesize by jimw
| From: | jimw@php.net | Date: | Sun, 21 Oct 2001 22:33:47 +0000 |
| Subject: | note 16228 rejected from function.getimagesize by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19234@lists.php.net to get a copy of this message | ||
Be aware! this function is buggy:
let's say I got my image under: '/home/site/images/bla.jpg'
my http image dir is under
www.mysite.com/images/
and now when I do
$size = GetImageSize("images/bla.jpg");
I will get correct image info, however when I specify full path to the image:
$size = GetImageSize("/home/site/images/bla.jpg");
the result will be incorrect!!!