I’ve tried to use the PHP function getimagesize, but I was unable to extract the image width and height as an integer value.
How can I achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try like this:
Make sure that:
Also try to prefix path with
$_SERVER["DOCUMENT_ROOT"], this helps sometimes when you are not able to read files.