PHP Articles

Page 8 of 81

Install Lighttpd with PHP and MariaDB on RockyAlmaLinux

Satish Kumar
Satish Kumar
Updated on 15-Mar-2026 404 Views

RockyAlmaLinux is a robust and secure Linux distribution that serves as a perfect replacement for CentOS. This article will guide you through installing a complete web server stack with Lighttpd, PHP, and MariaDB, providing detailed instructions with examples and expected output for each command. Prerequisites: Administrative access to your RockyAlmaLinux system and an active internet connection. Step 1: Update the System First, update the system's package repositories and upgrade installed packages to their latest versions − sudo dnf update $ sudo dnf update Last metadata expiration check: 0:20:47 ago on ...

Read More

Install LAMP - Apache, PHP, MariaDB and PhpMyAdmin in OpenSUSE

Satish Kumar
Satish Kumar
Updated on 15-Mar-2026 3K+ Views

The LAMP stack, which stands for Linux, Apache, MySQL/MariaDB, and PHP, is a powerful combination of open−source software widely used for web development and hosting. In this tutorial, we will guide you through the process of installing and configuring the LAMP stack on openSUSE, a popular Linux distribution. Step 1: Update System Packages Before we begin, it is essential to update the system packages to ensure that we have the latest software versions and security patches ? sudo zypper refresh sudo zypper update Step 2: Install Apache Apache is a widely used web ...

Read More

PHP Program for Converting Roman Numerals to Decimal Lying Between 1 to 3999

Prabhdeep Singh
Prabhdeep Singh
Updated on 15-Mar-2026 314 Views

Roman numerals are characters used in a numeric notation system based on the ancient Roman system. In this tutorial, we'll convert Roman numeral strings to decimal values in the range 1 to 3999. Roman Numeral System Roman numerals follow descending order but use subtractive notation to avoid four consecutive characters. Here are the main symbols − SYMBOL VALUE M 1000 CM 900 D 500 CD 400 C 100 XC 90 L 50 XL 40 X 10 ...

Read More

How to Disable root Login Access to PhpMyAdmin?

Satish Kumar
Satish Kumar
Updated on 15-Mar-2026 2K+ Views

PhpMyAdmin is a popular web−based tool for managing MySQL databases through a browser interface. By default, it allows root user login, which grants complete administrative control over the entire database system. While convenient for initial setup, root access poses significant security risks if compromised. Why Disable Root Login Access? The MySQL root user has unrestricted privileges to create, modify, or delete any database, user, or configuration. If an attacker gains root credentials, they can cause irreversible damage or steal sensitive data. Additionally, root accounts are often shared among multiple users, increasing the risk of unauthorized access. Method ...

Read More

PHP Program to Check if all rows of a matrix are circular rotations of each other

Prabhdeep Singh
Prabhdeep Singh
Updated on 15-Mar-2026 203 Views

A rectangular array called a matrix is made up of rows and columns. And circular rotations entail rotating the array's elements so that after one rotation, the last member is in the first position and the other elements are shifted to the right. We are given an N*N matrix in this problem, and our objective is to determine whether all of the rows are circular rotations of one another. If they are, print "YES, " otherwise print "NO." In order to better understand the issue, let's look at some cases with explanations below. Input 1 mat ...

Read More

How to Upload Image into Database and Display it using PHP

Tarun Singh
Tarun Singh
Updated on 15-Mar-2026 16K+ Views

In modern web applications, it is common to store images in databases for various reasons, such as security, easy management, and scalability. PHP provides an easy way to upload images to databases and display them on web pages. In this article, we will learn how to upload images into database and display them using PHP. We will implement the following functionality − HTML form to upload an image Upload an image to the server using PHP Store file data in the database using PHP and MySQL Retrieve images from the database and display on the web page ...

Read More

Online Group Chat application Using PHP

Rushi Javiya
Rushi Javiya
Updated on 15-Mar-2026 6K+ Views

A web-based online group chat application enables users to communicate in real-time through text messaging. This tutorial demonstrates how to build a complete group chat application using PHP, MySQL, and Bootstrap for a modern interface. Prerequisites Installation Requirements: XAMPP or WAMP server with PHP support MySQL database Web browser for testing Step 1: Database Setup First, create the database and table structure for storing chat messages − CREATE DATABASE onlinechatapp DEFAULT CHARACTER SET utf8; GRANT ALL ON onlinechatapp.* TO 'admin'@'localhost' IDENTIFIED BY 'admin'; USE onlinechatapp; CREATE TABLE ...

Read More

How to Increase File Upload Size in PHP

Satish Kumar
Satish Kumar
Updated on 15-Mar-2026 21K+ Views

In today's digital world, file uploads are a common occurrence, be it uploading pictures to social media platforms or sharing documents through email. However, PHP's default file upload size limit can cause inconvenience to users, restricting them from uploading files of larger sizes. In this article, we will explore ways to increase the file upload size in PHP. Understanding PHP File Upload Size Limit PHP is a server-side scripting language that is widely used for developing dynamic web pages. When a user uploads a file to a PHP-based website, the file size limit is imposed by the PHP ...

Read More

Simple Contact Form using HTML CSS and PHP

Shubham Vora
Shubham Vora
Updated on 15-Mar-2026 5K+ Views

A contact form is a great way to allow users to reach out to you directly through your website. Contact forms are a crucial aspect of any website, as they allow visitors to get in touch with the website owner. A contact form on website provides an easy way for visitors to ask questions, make inquiries, or provide feedback. In this tutorial, we will be discussing how to create a simple contact form using HTML, CSS, and PHP. Step 1: Create the HTML Form The first step in creating a contact form is to create its structure ...

Read More

Difference Between Golang and PHP

Sabid Ansari
Sabid Ansari
Updated on 15-Mar-2026 3K+ Views

Both Golang and PHP are popular programming languages used for web development. Although both languages are suitable for building web applications, they have significant differences in terms of their syntax, performance, and popularity. In this article, we will discuss the key differences between Golang and PHP in detail and compare them in a tabular form. Golang vs PHP Here are the main differences between Golang and PHP − Category Golang PHP Syntax Golang has a strict syntax with mandatory semicolons and braces PHP has a flexible syntax with optional semicolons and braces ...

Read More
Showing 71–80 of 802 articles
« Prev 1 6 7 8 9 10 81 Next »
Advertisements