note 46695 added to function.getimagesize
| From: | IanM at osu1 dot php dot net | Date: | Wed, 20 Oct 2004 13:51:48 +0000 |
| Subject: | note 46695 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78825@lists.php.net to get a copy of this message | ||
This is mainly directed towards webmaster at theotherpixel dot com:
What you explain is the correct action for php to take. A full path of /images/imagename.gif is
just that: it means the file /images/imagename.gif from your filesystem, not from the web server
root (which I would really hope are different directories!). Having a leading / indicates you
aren't specifying from your present working directory and instead from the root of the
filesystem. This may be untrue for Windows servers where C:\ is sort of the root of the filesystem,
and thus "/" might mean nothing, I don't have experience there.
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46695
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46695&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46695&report=yes
Search -- http://master.php.net/manage/user-notes.php