ID:               48606
 Comment by:       sjoerd-php at linuxonly dot nl
 Reported By:      majstor_kontakt at yahoo dot co dot uk
 Status:           Open
 Bug Type:         GetImageSize related
 Operating System: Windows XP
 PHP Version:      5.2.10
 New Comment:

Thank you for your bug report.

In your example, you pass an URL to getimagesize(). Retrieving the URL
from the server may introduce some delay, independent of getimagesize().
If it takes 1 second to get the file from the server, the given example
still takes 1 second even if getimagesize() is very fast.

Please provide an example which does not use an URL, or provide more
information to show that the delay is caused by getimagesize() and not
by network or webserver problems.


Previous Comments:
------------------------------------------------------------------------

[2009-06-19 13:04:59] majstor_kontakt at yahoo dot co dot uk

Description:
------------
Big problem with "getimagesize($someUrl)" if my image is on my local
NTFS partition (I use windows xp and PHP5.2.10).
Image is wery small but function need about 1 sec to get data. (On
Fat32 partition it is very fast).

Reproduce code:
---------------
$imgSize =
getimagesize('http://localhost/aukcije/img.domen.com/admin/time_picker_small.png');

Expected result:
----------------
It must be fast.

Actual result:
--------------
It take about 1 sec!


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48606&edit=1

Reply via email to