CODE
LIBARY.COM
Home
/
PHP
PHP Array Get Image Properties
Array Get Image Properties
<? $i = @getimagesize("a.jpg"); echo "Width: $i[0] Height: $i[1]"; ?>
$i = @getimagesize("a.jpg"); echo "Width: $i[0] Height: $i[1]"; ?>
Copy to Clipboard
Related Snippets
PHP "PHP Array Get: Retrieve a Value from an Array based on a Key"
PHP YouTube Video ID Filter for PHP Web-Based Application
PHP MS Word
PHP Execute system commands
PHP Calendar
PHP Extracting iframe and image sources from HTML string | PHP function
PHP Measuring PHP Execution Time
PHP Last date a file was modified
PHP Beta mIRC Code Highlight
PHP Magic methods __wakeup() and __sleep() usage