note 102326 added to function.getimagesize
| From: | Urchin at osu1 dot php dot net | Date: | Tue, 08 Feb 2011 21:00:49 +0000 |
| Subject: | note 102326 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176793@lists.php.net to get a copy of this message | ||
On a Debian machine I had a lot of Notices in my log because the system did not understand spaces.
While the str_replace and rawurlencode options are ok for remote images, for the local system it is
of no use.
I used the following:
getimagesize('"'.$location.'"');
so basically I quoted the location (single_quot-dubble_quote-single_quote).
----
Server IP: 69.147.83.197
Probable Submitter: 130.89.167.35
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- https://master.php.net/note/edit/102326
Del: integrated -- https://master.php.net/note/delete/102326/integrated
Del: useless -- https://master.php.net/note/delete/102326/useless
Del: bad code -- https://master.php.net/note/delete/102326/bad+code
Del: spam -- https://master.php.net/note/delete/102326/spam
Del: non-english -- https://master.php.net/note/delete/102326/non-english
Del: in docs -- https://master.php.net/note/delete/102326/in+docs
Del: other reasons-- https://master.php.net/note/delete/102326
Reject -- https://master.php.net/note/reject/102326
Search -- https://master.php.net/manage/user-notes.php