I’ll be using it in a modification for OSCommerce e-cart — no user upload is allowed but SQL is for filenames.
Question posted in Oscommerce
The official documentation can be found here
The official documentation can be found here
I’ll be using it in a modification for OSCommerce e-cart — no user upload is allowed but SQL is for filenames.
2
Answers
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.
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.