note 47451 added to function.getimagesize
| From: | nonickAT8027DOTorg at osu1 dot php dot net | Date: | Tue, 16 Nov 2004 22:46:29 +0000 |
| Subject: | note 47451 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80616@lists.php.net to get a copy of this message | ||
To: webmaster at theotherpixel dot com
I think the problem is that getimagesize() expects a valid path into the filesystem, so most
probably you should use something like:
$ret = getimagesize('/home/whoever/public_html/images/filename');
of course, using the route which applies to your setup: '/usr/www/', whatever.
________
Miguel.
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47451
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47451&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47451&report=yes
Search -- http://master.php.net/manage/user-notes.php