PHP File Upload Example

This tutorial will show you how to upload a file using PHP. In this example the file is selected using the browse button and file is uploaded to the ‘uploads’ directory. PHP script stores the file into the defined location and returns response as a success or failure message from the PHP script. As a […]

Read More

PHP asort() example

This tutorial shows an example how to sort an array using asort() function available in PHP. The asort() function sorts an array by maintaining the index association. This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays […]

Read More

Setup HMVC with Codeigniter 3

HMVC stands for Hierarchical Model View Controller. Modular Extensions make the Codeigniter PHP framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other Codeigniter applications. This allows easy distribution of independent components (MVC) in a single directory across other CodeIgniter […]

Read More

1 2 3 5