PHP

How to check if Curl is available on your PHP Server?

First you can try phpinfo() function as shown in the below example. Create a file called phpinfo.php and add below code: When you save and run this script, the phpinfo() function will dump all the configuration information of your PHP installation. Scroll down until you see the word ‘Curl’ or hit Ctrl + F to… read more »

Installing Composer

Windows If you are on windows, the easiest way to install composer is by grabbing a copy of windows installer provided by the official composer website. The instruction are outlined below. Make sure you already have PHP installed in your system. It comes bundled with XAMPP, WAMP or otherwise you can install independently by downloading… read more »

How to perform form validations in Codeigniter

First you have to load the validation library in your controller’s constructor or in the method you are trying to perform validations. I recommend you to load it in the constructor so it will be available to all controller methods: Once the validation library is loaded, you can set the validation rules with below statement… read more »

Sidebar



Do NOT follow this link or you will be banned from the site!