PHP session is one of the methods for keeping data persistency on the server side. Quick example 1. Create a file set-session.php and set value and lifetime. <?php session_start(); //Set PHP session with value, time $currentTime = time(); $_SESSION['color'] = array( "value" => "blue",
by Vincy. Last modified on October 10th, 2021. Sendmail in PHP is possible with just single line of code. PHP contains built-in mail functions to send mail. There are reasons why I am feeling embraced with this PHP feature. Because I write
by Vincy. Last modified on September 15th, 2021. The PHP object to array conversion makes it easy to access data from the object bundle. Most of the API outputs object as a response. Some APIs may return a complex object structure. For
by Vincy. Last modified on September 13th, 2021. Learning arrays is one of the fundamental needs in learning programming. We have seen many articles previously to learn the power of arrays. This article is for learning how to find array elements
by Vincy. Last modified on August 25th, 2021. APIs enable mission-critical capabilities for many platforms. Fraud detection for online stores and banking can depend on IP geolocation services using IP lookup to detect whether a user’s IP address matches their stated
by Vincy. Last modified on August 23rd, 2021. Bootstrap inline property is for displaying the enclosed elements horizontally in a row. This property can be applied for any group like checkbox, radio and more. This article describes how to apply the inline
by Vincy. Last modified on August 18th, 2021. Login authentication is an important first step in an application. With enhanced authentication mechanisms, apps allow the right users into the system. There are packages provided by Laravel to enable authentication in an application.
by Vincy. Last modified on August 15th, 2021. The login system is for authenticating users before letting them access the application services. It authorizes users to access the privileged pages of the applications. There are two important things to keep in mind