PHP read csv file into associative array In this tutorial we going to see to how to read single column multiple rows csv file as an array using php. In some case we need to read csv file and convert them into array and process data. simple PHP code to convert CSV to associative array.
How to convert xml into array in php In this tutorial we are going to see how to convert xml into array in php. In some case while calling external api calls,it gives the response as XML format at that we need to convert convert xml into array in php. SimpleXML is a PHP extension
How to integrate google reCAPTCHA in PHP Googl reCAPTCHA is used to validate form submit in php.It is easy to integrate Google reCAPTCHA in PHP script. Using google reCAPTCHA in PHP users can prove they are human with single click. They need just a single click to confirm they are not a robot. So, reCAPTCHA
How to Setup Maintenance Mode in Codeigniter 3 Most of the application needs a maintenance mode to indicate the user,the application going through under maintenance. Here is the tutorial to setup the maintenance mode in codeigniter application. CodeIgniter’s Hooks give a feature to modify the core functionality without modifying the core codeIgniter files. We can
How to get first 5 characters from string in php The substr() function returns a part of a string in php. Note: If the start parameter is a negative number and length is less than or equal to start, length becomes 0.
Get Book Details by ISBN with the Google Books API The Google Books API can return details of any book from the ISBN code. You get to know the book title, author names, publishing date, publisher and so on. Here is sample code to get details of book
How to connect to mysql database on another server using php Find out the IP address of the server A where your scripts will be uploaded. Do not forget to change the localhost to the ip address of the Server B in mysql_connect() or mysqli_connect() method. Now go the control panel of the Server B
How to Remove index.php from URL in CodeIgniter In CodeIgniter we can design URLs human-friendly or seo-friendly. By default in codeigniter, the index.php is added with the URLs. But we remove the index.php from the URL using .htaccess.
In this tutorial, we are going to learn how to make Facebook like time ago system in PHP. Timeago is the most important functionality for each and every applications, it helps to updating timestamps automatically. Here is the tutorial how to implement timeago in PHP. You have to use the time_stamp() function to display the