Browsing articles in "PHP"
Dec
6
2011

Calculate the size, count files & folders of a directory with PHP

php-processor

Easily calculate the size, number of files & folders of a specific directory with PHP.

Dec
5
2011

How to remove a directory and it’s content using PHP

php-processor

Here is a snippet that can help you to remove a non-empty directory from the server. It’s a recursive function that deletes the directory with its files, folders and sub-folders.

Nov
26
2011

Easily create a Zip file using PHP

Creating .ZIP archives using PHP can be just as simple as creating them on your desktop. PHP’s ZIP class provides all the functionality you need!

Nov
24
2011

Calculate folder and subfolders size with PHP

How to read the size of a directory using PHP? Here is a simple function which could help read the size of the directory, number of directories and the number of files in the given directory.

Oct
23
2011

Reading images exif data with PHP

In most photos from digital cameras besides the actual image, there’s a little ”information block” call EXIF data.

Oct
23
2011

A PHP Library For Image Manipulation: Imagine

Imagine is a OOP library for image manipulation built in PHP 5.3 using the latest best practices and thoughtful design that should allow for decoupled and unit-testable code.