[thelist] GetImageFileSize in PHP

Mark Howells mark at mountain.ch
Wed Mar 13 17:41:01 CST 2002


I'm trying to use the following PHP code

<?$pDimensions = GetImageSize($filepath);?>

where $filepath is a full HTTP path. This is taken directly from an
example script, but it is taking up to three or four minutes to actually
get the size of the file (which has just been successfully uploaded by a
function earlier in the page).

Any idea why this is soooo slow? (Sorry, no URL to post.)

Thanks and regards
Mark Howells
<http://www.mark.ac/evl/>




More information about the thelist mailing list