PHP Tutorial

Getting the Date and Datetime Difference Between Dates in PHP Snippets

Submitted by oretnom23 on

In this article, I will show you how you get the Difference between two (2) Dates or DateTime in PHP Language. The tutorial aims to provide IT/CS students and new programmers with a reference to enhance their knowledge and skills for developing an application using PHP Language. Here, snippets of some explanations are provided. A sample working source code zip file is also provided and is free to download.

Uploading File in Google Drive using Google Drive API and PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn to Upload Files into Google Drive using PHP Language and Google Drive API without using any PHP Library. The main purpose of this tutorial is to provide IT/CS Students and new programmers with a reference for learning how to integrate Google APIs into PHP. Here, a step-by-step tutorial for setting up a project in Google Cloud Console is provided with snippets for achieving this tutorial goal.

Load Environment Variables from (.env) File using PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Load the Environment Variables from a (.env) File using PHP Language. The tutorial aims to provide IT/CS students and new programmers with a reference to learn for loading environment variables in PHP. Here, a step-by-step tutorial and sample snippets are provided to understand the process for achieving the goal of this tutorial. A sample source code zip file is also provided and is free to download.

Filtering HTML Content Before Loading to Page using PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Filter HTML Content before loading or displaying it on the page using PHP Language. The tutorial aims to provide the IT/CS students and new PHP programs with a reference to learn to enhance their knowledge and programming capabilities using the PHP Language. Here, I will provide some snippets and a sample source code that demonstrate the goal of this tutorial.

Using PHPs implode() and explode() Built-in Functions

Submitted by oretnom23 on

In this article, you will learn how to use the PHPs implode() and explode() built-in functions. The tutorial aims to provide the IT/CS students and new programmers a reference for widening their knowledge and enhancing their PHP Programming capabilities. Here, snippets that demonstrate the usage of the said PHP functions are provided.

Checking String if contains specific String in PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Check if the String contains the specific String using PHP Language. The tutorial aims to provide IT/CS students and new programmers with a reference to learn the usage of the PHP built-in methods for searching in a string. Here, I will be providing some sample snippets that demonstrate the different effective ways of checking string if contains a string. A sample program source code zip file is also provided and is free to download.

Dynamic Web Notification using PHP and JavaScript Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Implement a Dynamic Web Push Notification using PHP and JavaScript. The tutorial aims to provide IT/CS students a reference to learn the usage of JavaScript Notification API and Integrate it with PHP Language and Ajax requests. Here, snippets of a sample application will be provided. Also, I have provided the working source code zip file of the simple program that demonstrates the implementation of dynamic web push notifications.

Importing CSV File Data into MySQL Database using PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Import CSV File Data Into MySQL Database using PHP. The tutorial aims to provide the IT/CS Students and new programmers with a reference for reading CSV Files in PHP and Import Data into the Database. Here, the step-by-step tutorial with snippets is provided and a sample program source code zip that demonstrates the tutorial objectives is free to download.

Generate User Avatar using PHP Tutorial

Submitted by oretnom23 on

In this tutorial, you will learn how to Generate User Avatars using their name's initials in PHP. The application aims to provide IT/CS Students and new programmer with a reference that help them to enhance their programming capabilities. Here, are simple snippets that generate user avatars. A sample source code zip file is also provided and is free to download.

Compressing Multiple Files as Zip and Download it using PHP

Submitted by oretnom23 on

In this tutorial, you will learn how to Compress Multiple Files as Zip and Download it using PHP Language. The tutorial aims to provide IT/CS Students and new programmers with a reference on using PHP ZipArchive(). Here, I will be providing a simple web application's snippets and source code zip file which demonstrates our main objective in this tutorial.