HomeMonday, July 24, 2017, 22:37:37
1

Getimagesize

Tuesday, February 10, 15, 13:13:49, 3 Yaers Ago Via wain, Hits: 2206
Getimagesize function will determine the size of any given image file and return the dimensions along with the file type and a height/width text string to be used inside a normal HTML IMG tag and the correspondant HTTP content type.
Example:
Code:
<?php
list($width, $height) = getimagesize('myimage.png');
echo "Image Width = " . $width . " - Image Height = " . $height;
if ($width > 990 || $height > 990) {
echo "<br>Maximum width and height exceeded. Please upload images below 990 x 990 px size";
exit();
}
?>

Sign In

Sponsor

Related

Contact Us 2.0. :: PHP Form

Version 2.0. - A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website.

Prevent the error loading XML – libxml_use_internal_errors

libxml_use_internal_errors() allows you to disable standard libxml errors and enable user error handling.

RSS, MySQL & Smarty

Smarty > Publishing MySQL Data in RSS 2.0

Imageline

Draws a line between the two given points.

Math Captcha V6

PHP Math Captcha Image Version 6

MySQL Tutorials

MySQL tutorials, MySQL training, learn MySQL, MySQL Tutorial with practical examples.

PHP Form Basic

PHP Form - PHP form basic, Requirement(s): PHP Server

MySQL Basic Functions

MySQL Basic Functions - select, delete, update..

Adsense crawler errors and robots.txt

How to fix Google AdSense crawler errors in robots.txt

PHPBB3 Shoutbox

Vesion: 1.1. Released: 08/08/10, Licence GNU, Price: Free
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.