普通网友 2010-01-27 06:39
浏览 80

没有javascript的PHP getimagesize()替代品?

Say I have the URL of an image, and URL file-access is disabled in the server configuration, and that's not something I can (or want) to change, is there an easy way to get it's height/width using PHP? I'd prefer not to use javascript if possible.

  • 写回答

3条回答 默认 最新

  • drh96824 2010-01-27 06:43
    关注

    umm, so you're going to pull the image over the network into your PHP application "find" the size, and then presumably emit an HTML img take with the size? seems kind of funky to me.

    评论

报告相同问题?