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

Popular posts from this blog

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'