Easy Code Share >

Loop Multidimensional Array in PHP by 3 Recursive Demos

Loop Multidimensional Array in PHP by 3 Recursive Demos

You can walk across one-dimensional array simply, but may laboriously loop through multidimensional array in PHP using recursive methods. Truly, the multidimensional features in data need more efforts for traversal of array. Obviously, recursive methods involve many types of applications such as traversing files in a directory, Towers of Hanoi, types of Tree Traversal and … Read more

Easy Code Share >

PHP Namespace Example Include Class, Function

PHP Namespace Example Include Class, Function

Namespace in programming implements an abstract concept. The re-usable PHP class, function, or constant of libraries and extensions are grouped to prevent from name collisions. In addition, Namespace aliasing increase readability of codes. The article uses PHP namespace example codes to explain the basics and its variation. All codes here are not complicated, so you … Read more

Easy Code Share >

5 Tips for PHP Image Effect, Watermark, Resize

5 Tips for PHP Image Effect, Watermark, Resize

Apart from softwares like Photoshop, PHP image functions can resize, add an effect to, or put a watermark on an image. Resizing will reduce the storage of mass uploaded pictures. Image filter can append a specific effect to an image. The watermark on an image prevent creative pictures or photographs from misappropriation. All codes here … Read more

Easy Code Share >

Trigger Remote Shell Script on Linux via Http Browser

Trigger Remote Shell Script on Linux via Http Browser

We present a way to achieve: (1) http browser clients can trigger a remote script to run, (2) Windows browsers auto refresh status for remote system on Linux. Obviously, that give us an alternative view about what common HTML layout can do. All codes here are not complicated, so you can easily understand even though … Read more

Easy Code Share >

Multiple File Upload in PHP, HTML, jQuery by 6 Ways

6 Methods for Multiple File Upload in PHP, HTML, AJAX, jQuery

For the topic of Multiple File Upload, there are various approaches including HTML, jQuery AJAX, and PHP. This ultimate complete guide helps you understand how to choose a proper method among them. For example, only PHP cURL method is available for the case of file transfer between hosts. All codes here are not complicated, so … Read more

Easy Code Share >

6 Methods for File Upload in PHP, HTML, AJAX, jQuery

6 Methods for File Upload in PHP, HTML, AJAX, jQuery

File Upload allow various approaches, including HTML, jQuery AJAX, and PHP. This ultimate complete guide helps you understand how to choose a proper method among them. For the case of file transfer between hosts, only PHP cURL is available. Here only single file upload is written. In next article, we will talking about multiple file … Read more

Easy Code Share >

Yii 1.1 PHP Web App Quick Start using Gii

Yii 1.1 PHP Web App Quick Start using Gii

Yii 1.1 is one of famous PHP MVC (Model-View-Controller) frameworks. Although Yii 2.x had launched with big change in structure, Yii 1.1 will still be worth attention as some existing systems are running under it by now. With its Gii component, WebApp developing staff can create Model class with ease, and therefore leverage CRUD operations … Read more