Skip to main content

PHP: Notes

Source: https://upload.wikimedia.org/wikipedia/vi/thumb/2/27/PHP-logo.svg/1200px-PHP-logo.svg.png

"PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor. " — Wikipedia

>>> PHP 8.2 released!

php --version : Check PHP version
php --help
php -S localhost:8000 : Start built-in webserver on port 8000

PHP Global Variables

PHP variables start with $.

Pre-defined, global scope.

$GLOBALS, $_SERVER, $_REQUEST, $_POST, $_GET, $_FILE, $_ENV, $_COOKIE, $_SESSION

PHP Online IDE

https://replit.com/

MVC Frameworks for Building PHP Web Applications

>>> CodeIgniter

>>> CakePHP

>>> Zend

>>> Lavarel

>>> Symphony

>>> Yii

References

PHP Tutorial | w3schools.com

Practice

>>> THM | Linux Backdoors - PHP Backdoors