IF STATEMENTS WITH PHP

In PHP, an if statement allows you to execute a block of code if a certain condition is true. Here is the basic syntax for an if statement: Here is an example of an if statement that checks if a variable $x is greater than 10: You can also add an else clause to execute […]

Read More IF STATEMENTS WITH PHP

Updating your Windows and Linux system

Why is important to update your system? It is important to continue updating systems because updates often include security patches that fix vulnerabilities in the operating system. These vulnerabilities can be exploited by attackers to gain unauthorized access to the system or steal sensitive data. By installing updates, you can help protect your system from […]

Read More Updating your Windows and Linux system

Variables in PHP

In PHP, there are a few different ways to write variables. The most common way to write a variable is by using the dollar sign $ followed by the name of the variable. For example: Variable names in PHP can start with a letter or an underscore, but they cannot start with a number. Variable […]

Read More Variables in PHP

How to run Php Scripts using XAMPP.

A lot of you know that I can code in various languages but my very first internship was with using PHP. I learned PHP in college and I ran scripts using XAMPP. Here is more about PHP from the PHP manual. https://www.php.net/manual/en/intro-whatis.php PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language […]

Read More How to run Php Scripts using XAMPP.

What is a packet in networking

I literally forgot what is a packet in networking during an interview so here it is to redeem my self. Interviewer: “What is a packet in networking?” Interviewee: “Uh, a packet is a small unit of data that is transmitted over a network, right?” Interviewer: “Yes, that’s correct. And can you tell me what the […]

Read More What is a packet in networking

Why is important to know what permissions A folder have? how an attacker or Users can abuse permissions?

It is important to know what permissions folders have because they determine which users and processes have access to the files and subdirectories within the folder. If wrong permissions are set on a folder, it can lead to unauthorized access to sensitive data or to the modification or deletion of important files. An attacker can […]

Read More Why is important to know what permissions A folder have? how an attacker or Users can abuse permissions?