How to use php-cli when using Xampp in Ubuntu?

1. Open up /etc/environment file in your text editor. 2. Append /opt/lampp/bin to the location searched for binary files in the etc/environment file. 3.After appending /opt/lampp/bin, the /etc/environment file may look like this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/lampp/bin 4. Save this file. 5. After this run source /etc/environment from command line. NOTE: If you […]

Creating responsive progress bar using PHP, Bootstrap, jQuery and AJAX

In this blog post, I will demonstrate making a responsive progress bar using PHP, Bootstrap, jQuery and AJAX. Recommended directory and file structure for this tutorial /progressbar /server server.php progress.txt /public client.js index.html Steps for creating a progress bar 1. Create a directory in your /var/www/html directory Name this directory of […]

5 Reasons for a PHP developer to learn WordPress

I am a PHP and wordpress developer and I personally like wordpress. So, I decided to share my thoughts on learning wordpress development. Following are my 5 reasons for a PHP developer to learn WordPress: 1. Most popular Content Management System According to W3Techs, wordpress is the most popular Content Management System having […]