Supun Kavinda's Blog

Beginner's PHP Tutorial
PHP is a server-side scripting language designed for web development which powers many websites from blogs to the most popular websites in the world. In this tutorial, we teach you how to master PHP step-by-step.
Supun Kavinda
Creating a Real-Time Chat App with PHP and Node.js
In this tutorial we will create a Chat app using PHP and Node.JS. PHP will run the whole website while Node.JS runs the real-time system. Websockets are used.
Published on Apr 14, 2019 39500 views
All About MYSQLI Prepared Statements in PHP
Discusses everything about MYSQLI Prepared Statements with PHP with plenty of examples. SELECT, INSERT, UPDATE and DELETE are fully described.
Published on Jan 21, 2019 16407 views
Image Upload with AJAX, PHP, and MYSQL - The Beginner's Guide
In this tutorial, we will talk about how to upload an image to the server with AJAX, validate it with PHP, save it in the server, and finally, we will save the path of the image in the database to retrieve the image later.
Published on Oct 3, 2018 31103 views
PHP Contact Form - The Email Method
Without a contact us page anyone won't be able to have a complete website. So, create your contact page with PHP using the email method. It's easy!
Published on Sep 17, 2018 19096 views
The Best Way to Perform MYSQLI Prepared Statements in PHP
The best way of doing prepared statement is pretty simple that other non-best ways. So, why wouldn't you try this method? This method fastens your programming while securing your website
Published on Sep 7, 2018 34571 views
Live Search with AJAX, PHP, and MYSQL
Live search is an important part of a website. This tutorial shows you how to create a live search with AJAX, PHP and MYSQL step-by-step
Published on May 19, 2018 43805 views
Google Recaptcha with AJAX and PHP
Implement Google Recaptcha on your website, use it in Ajax requests and validate it with PHP. Send ajax request to your server, then Google servers and get back the response.
PHP Recaptcha
Published on May 1, 2018 22989 views
Input Validation with PHP
Of course, validating user input is really important for dynamic websites. Invalid user input can make errors in processing. Therefore, validating inputs is a must. The awesome language, PHP has numerous in-built functions to validate user inputs. This tutorial will help you to understand Input Validation with PHP. Finally, we will create an awesome class to validate Inputs efficiently without writing the same code again and again.
Published on Apr 11, 2018 54366 views
Setting Up A Secure Web Server On Ubuntu
Server Administration
Published on Mar 31, 2018 3873 views
AJAX Request Handler with PHP
Ajax is a web technology that can change a boring static website to an awesome dynamic website. If you are a PHP developer, it is a must to know how to create a PHP handler to handle Ajax requests, POST/ GET data.
Published on Mar 30, 2018 23352 views
Ajax Long Polling with PHP
Long Polling is one of the simplest ways to create a real-time communication system with PHP. In this tutorial, we will see how we can use PHP functions to perform long polling.
Published on Feb 6, 2018 30317 views
Autoloading Classes with Namespaces in PHP
Learn everything about php autoloading. Understand the use of autoloading functions. Learn how to include, save files and how to manage a good file structure.
Published on Dec 13, 2017 33660 views