search
Homephp教程php手册PHP summary: 1.php introduction

1. What is php
PHP, or "Hypertext Preprocessor", is a widely used open source general scripting language, especially suitable for web development and can be embedded in HTML. Its syntax leverages C, Java, and Perl and is easy to learn. The main goal of the language is to allow web developers to quickly write dynamically generated web pages. For competitors like Microsoft ASP, PHP is undoubtedly another efficient option. For example, Baidu, Taobao, 163, and Sina are all using PHP.
What
2.php can do
2.1 server script. This is the most traditional and main target area of ​​PHP. Three things are required to do this: a PHP parser (CGI or server module), a web server, and a web browser. You need to install and configure PHP when running the web server. Then, you can use a web browser to access the output of the PHP program, that is, browse the PHP page on the server.
2,2 Command line script. You can write a PHP script and don't need any server or browser to run it. This way, only the PHP parser is needed to execute. This usage is ideal for daily running scripts that rely on cron (Unix or Linux environments) or Task Scheduler (Windows environments). These scripts can also be used to process simple text.
2.3 Writing desktop software, PHP may not be the best language for desktop applications with graphical interfaces, but if the user is very proficient in PHP and wants to use some advanced features of PHP in client applications, These programs can be written using PHP-GTK. Using this approach, you can also write cross-platform applications.
3. What kind of person is suitable for learning php
php is a simple programming language, it is easy to get started, mainly because it is used for web development, and the application environment is relatively simple (less involving low-level operations, which is also related to the original design intention of PHP). As long as you have the ambition For website development, it’s fine if you don’t reject code. But as a programmer, it is inevitable to work overtime and stay up late, and you also have to bear a certain amount of work pressure. Of course, getting started is easy, but if you want to become a real expert, you still need to practice more and more.
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.