php

php get image dimension

print_r(getimagesize($_FILES['BM_BACKGROUND_IMAGE']['tmp_name']));

 

By bm on January 10, 2014 | php | A comment?

Add one minut with current time

echo date(“Y-m-d h:i:s”,strtotime(“+1 minutes”))

 

By bm on | php | A comment?

GD_Library for php

 

If you are running your own server, you have other options available depending on your operating system:

On Windows servers, php_gd2.dll is included in a standard PHP installation, but is not enabled by default. To enable it, uncomment the extension=php_gd2.dll line in your php.ini file (remove the # from the beginning of that line) and restart the PHP extension.
Linux distributions that have package managers can usually find easy installs. For example: yum install php-gd or apt-get install php5-gd Be sure to restart your web server daemon after installing the library.
Compile from source into PHP (meaning you’ll have to re-compile PHP).

By bm on | php | A comment?