What is PHP?
PHP (full name: Php:hypertext preprocessor, "PHP: Hypertext Preprocessor") is a common open source scripting language
PHP files can contain text, HTML, JavaScript code, and PHP code PHP code executed on the server, the results are returned in plain HTML to the browser
The
default file name extension for PHP files is ". php"
PHP can be run on different platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers currently in use (Apache, IIS, etc.)
PHP provides a wide range of database support
What can PHP do?
- PHP can generate dynamic page content
- PHP can create, open, read, write, and close files on the server
- PHP can collect form data
- PHP can send and receive cookies
- PHP can add, delete, and modify data in your database
- PHP can restrict users from accessing some pages on your site
- PHP can encrypt data
Introduction to PHP