note 16228 added to function.getimagesize

From: Date: Sun, 21 Oct 2001 22:14:00 +0000
Subject: note 16228 added to function.getimagesize
Groups: php.notes 
Request: Send a blank email to php-notes+get-19233@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!!! -- http://www.php.net/manual/en/function.getimagesize.php http://master.php.net/manage/user-notes.php?action=edit+16228 http://master.php.net/manage/user-notes.php?action=delete+16228 http://master.php.net/manage/user-notes.php?action=reject+16228

« previous php.notes (#19233) next »