How APIs with PHP Work?

An API, or Application Programming Interface, is a way for different applications to communicate with each other. It’s like a set of rules and protocols that one application can use to access the functionality of another application. For example, let’s say that you have a website that displays the weather forecast for different cities. The […]

Read More How APIs with PHP Work?

PHP Arrays

In PHP, an array is a data structure that allows you to store and access a collection of values. There are two types of arrays in PHP: indexed arrays and associative arrays. An indexed array is an array that is accessed using a numeric index, with the first element having an index of 0 and […]

Read More PHP Arrays

What is Authorization bypass

Authorization bypass is a type of vulnerability that occurs when an attacker is able to gain unauthorized access to a system or application by bypassing the authorization process. Authorization is the process of determining whether a user or system has the appropriate permissions or privileges to access a particular resource or perform a specific action. […]

Read More What is Authorization bypass

What is Authentication Bypass?

Authentication bypass is a type of vulnerability that occurs when an attacker is able to gain unauthorized access to a system or application by bypassing the authentication process. Authentication is the process of verifying the identity of a user or system, typically by requiring the user to provide a set of credentials, such as a […]

Read More What is Authentication Bypass?

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

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.

Setters and Getters in PHP

So one of the stuff that I like to do in Java is basically work with Objects. some OOP. You learn Structure, atleast I am just used to see code as follows: I found this piece of code on Gitghub and I am bringing up because it is clean code. Here is the link: https://github.com/iamshaunjp/object-oriented-php/blob/lesson-6/index.php […]

Read More Setters and Getters in PHP