skip to Main Content

I’ll be using it in a modification for OSCommerce e-cart — no user upload is allowed but SQL is for filenames.

2

Answers


  1. It is possible to hit your memory limits quite quickly with huge or malformed images of certain types. Whether this is a problem for you depends on how you are using it. Also, keep in mind that if you use getimagesize() on a URL, you are doing an HTTP request.

    Login or Signup to reply.
  2. AFAIK there is no security risks in using it…you aren’t getting input from user, and it just returns size of the image you pass.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search