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 Email PHP Errors - Custom Error Handler
PHP Remove new lines
PHP BB Code Smiles
PHP Get User Real IP Address | PHP Function to Retrieve IP Address
PHP URL Redirection
PHP Retrieve Page ID in WordPress using get_page_by_title()
PHP Query redirection
PHP News Pager Pro
PHP Chain of Command Design Pattern
PHP Web Based HTTPS Check - PHP Code