How can I find the width of an image using PHP?

前端 未结 7 1674
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 15:40

I was wondering how can I find the width of an image using php.

7条回答
  •  萌比男神i
    2020-12-10 16:14

    You can try with this code, you can see more in www.php.net

    To a file:

    ";
    ?>
    

    To URL:

    
    

    Only you have to give an output to variable.

提交回复
热议问题