Create a Horizontal Navigation Menu Using CSS

Create a Horizontal Navigation Menu Using CSS

Tiempo de lectura: 3 minutos Reading Time: 2 minutes Hello, today I’m going to show you how to create a horizontal navigation menu using CSS: HTML: First, create the basic HTML structure of the navigation menu: <nav> <ul> <li><a href=”#”>Home</a></li> <li><a href=”#”>Services</a></li> <li><a href=”#”>About</a></li> <li><a href=”#”>Contact</a></li> </ul> </nav> CSS: Now let’s apply CSS styles to make the menu horizontal: nav … Read more

Create a Password Reminder Using PHP

Create a Password Reminder Using PHP

Tiempo de lectura: 7 minutos } // Token is valid, update the user’s password $user_id = mysqli_fetch_assoc($result)[‘id’]; if ($password != $confirm_password) { // Passwords don’t match, display error message } $hashed_password = password_hash($password, PASSWORD_DEFAULT); $sql = “UPDATE users SET password = ‘$hashed_password’, token = NULL WHERE id = $user_id”; mysqli_query($connection, $sql); echo “Your password has been successfully updated!”; This tutorial … Read more

Top Popular and Useful Docker Containers

Top Popular and Useful Docker Containers

Tiempo de lectura: 3 minutos Reading time: 3 minutes Here I bring you a list of some of the most popular and useful Docker containers that exist. Each of these containers is widely used and maintained by the Docker community. Nginx: A fast and lightweight web server and reverse proxy. https://hub.docker.com/_/nginx MySQL: One of the most popular relational database management … Read more

Create a Docker Compose with PHP + Nginx + MySQL (MariaDB) + Nginx Proxy Manager (for HTTPS SSL certificates)

Create a Docker Compose with PHP + Nginx + MySQL (MariaDB) + Nginx Proxy Manager (for HTTPS SSL certificates)

Tiempo de lectura: 3 minutos Reading time: 3 minutes In this tutorial, I will show you how to create a docker-compose.yml file to set up a complete local development environment with PHP, NGINX, MariaDB, Nginx Proxy Manager for SSL, and PhpMyAdmin. Getting Started The first thing we need to do is to create a directory on our machine and create … Read more

Create a Dockerfile with PHP + MySQL (MariaDB)

Create a Dockerfile with PHP + MySQL (MariaDB)

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Here’s an example of a Dockerfile to create a web server with PHP and MariaDB: # Define the Docker base image FROM php:7.4-apache # Update package repositories RUN apt-get update # Install necessary dependencies RUN apt-get install -y \ mariadb-client \ libzip-dev \ zip \ unzip # Install required PHP extensions … Read more

Most Used docker-compose Commands

Most Used docker-compose Commands

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Here are some of the most useful and commonly used Docker Compose commands along with usage examples: docker-compose up The docker-compose up command is used to build and start the services defined in the docker-compose.yml file. docker-compose up docker-compose down The docker-compose down command is used to stop and remove the … Read more

Most Used Docker Commands

Most Used Docker Commands

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Below are some of the most useful and commonly used Docker commands along with usage examples: docker run The docker run command is used to start a Docker container from an image. For example, if you want to start an Ubuntu container: docker run ubuntu docker ps The docker ps command … Read more

Communicating two docker-compose.yml using a common network: example of communicating MariaDB with PHPMyAdmin.

Communicating two docker-compose.yml using a common network: example of communicating MariaDB with PHPMyAdmin.

Tiempo de lectura: 3 minutos Reading time: 3 minutes Today I’m going to show you how to communicate two docker-compose using a Docker virtual network. To communicate two Docker containers created using different docker-compose.yml files, it is necessary to use a Docker network. A Docker network is a means of communication between different Docker containers that allows containers to communicate … Read more

Readme with Markdown Syntax Styles

Readme with Markdown Syntax Styles

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Here’s an example of a README file with styles using Markdown syntax: Project Title Description Here you can write a brief description of the project. Features Feature list 1 Feature list 2 Feature list 3 Installation Installation step 1 Installation step 2 Installation step 3 Usage Here you can describe how … Read more

Software Engineering: Functional Requirements and Non-functional Requirements

Software Engineering: Functional Requirements and Non-functional Requirements

Tiempo de lectura: 3 minutos Reading Time: 6 minutes In the world of software development, it is common to talk about requirements to understand what a system should do. Requirements are divided into two main categories: functional requirements and non-functional requirements. In this post, we will explain the difference between these two categories, provide examples, and classify them to make … Read more