Files and Directories

PHP PDF Generation using FPDF

In this tutorial, we are going to generate PDFs from text file data using the PHP FPDF library. FPDF is unarguably the best server-side PDF ...

May 25th, 2015

PHP Watermark

Adding watermark in PHP is very simple. It can be done using PHP image libraries like GD. Using GD functions, we can use text or image as wa ...

January 30th, 2014

PHP file_get_contents()

In PHP, the file_get_contents() function is one of the file handling functions available in this scripting language. This function reads the ...

September 22nd, 2013

PHP Image Resize

While displaying images for our websites, it is important to ensure that it could be set within our layout boundary. If not, we need to resi ...

July 19th, 2013

PHP Directory Functions

Some days before we have seen a set of basic PHP file functions to perform file open, read, write or append operations. Similarly, PHP inclu ...

July 15th, 2013

Get Image Properties using PHP

The data or Information that are associated with an image is called as metadata of the images. For example, image type, image width, and hei ...

June 20th, 2013

PHP File Handling

Using PHP file handling mechanism, we can get external file resources to store as a reference. We have slightly touched on file resources wh ...

May 13th, 2013

↑ Back to Top