1. Service-side script.
This is the most traditional and most important target area of PHP. The following three points are required to carry out this work:
A, PHP parser (CGI or server module),
B, Web server,
C, web browser.
You need to install and configure PHP when you run the Web server,
You can then use a Web browser to access the PHP program's output, which is to browse the PHP page on the server side.
If you just experiment with PHP programming, all of this can be run in your own home computer.
2. command line script.
You can write a PHP script and do not need any server or browser to run it.
In this way, only the PHP parser is required to execute.
This usage is dependent on cron (Unix or Linux environments)
or Task Scheduler (Windows environment) is the ideal choice for everyday running scripts.
These scripts can also be used to handle simple text.
3. Write desktop applications.
For desktop applications with a graphical interface, PHP may not be the best language,
But if the user is very proficient in PHP and wants to use some of the advanced features of PHP in the client application,
You can use PHP-GTK to write these programs. In this way, you can also write cross-platform applications.
PHP-GTK is an extension of PHP that is not included in the normally published PHP package.
If you are interested in PHP-GTK, please visit their website for more information.
4. The application field of PHP can be extended to a wider extent:
PHP also supports services that utilize countless protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, and COM (Windows environments). You can also open the original network port, allowing any other protocol to work together. WDDX complex data exchange between PHP support and all Web development languages. In connection with each other, PHP has supported the immediate connection to Java objects and can use them freely as PHP objects. You can even use our CORBA extension library to access remote objects. PHP has an extremely efficient text processing feature that supports parsing from POSIX extensions or Perl regular expressions to XML documents. To parse and access XML documents, PHP 4 supports the SAX and DOM standards, or you can use the XSLT extension library to transform XML documents. PHP 5 standardizes All XML extensions based on robust libxm2 and adds SimpleXML and XMLReader support, extending its functionality in XML.
5, if the application of PHP to expand the field of e-commerce.
Will find its cybercash payment, Cybermut, VeriSign payflow Pro
And the MCVE function is very useful for online trading programs.
6. In addition, there are many other interesting extension libraries.
For example: Mnogosearch search engine functions, IRC gateway functions,
Multiple compression tools (gzip, bz2), calendar conversion, translation ...
What are the main applications of PHP?