[thelist] GetImageFileSize in PHP

Andrew Forsberg andrew at thepander.co.nz
Wed Mar 13 20:07:00 CST 2002


Hi Mark

>I'm trying to use the following PHP code
>
><?$pDimensions = GetImageSize($filepath);?>

In the real code is there a space between the ? and the $. I doubt
it'll have any impact on the problem, but I'm kinda interested to see
how php reacts.

>where $filepath is a full HTTP path.
[...]
>Any idea why this is soooo slow? (Sorry, no URL to post.)

Perhaps this is a dns issue on the server. Is it possible to use a
file system path rather than a url?

Cheers
Andrew
--
Andrew Forsberg
---
uberNET - http://uber.net.nz/
the pander - http://thepander.co.nz/



More information about the thelist mailing list