What is the initial solution of PHP--PHP?

Source: Internet
Author: User
Tags microsoft iis
PHP is a server-side scripting language used to create dynamic web pages. You can create pages through PHP and HTML. When a visitor opens a webpage, the server processes the PHP command and sends the result to the visitor's browser, just like ASP or ColdFusion. However, unlike ASP or ColdFusion, PHP is a cross-platform open source code. PHP can be a server-side scripting language used to create dynamic web pages in Windows PHP. You can create pages through PHP and HTML. When a visitor opens a webpage, the server processes the PHP command and sends the result to the visitor's browser, just like ASP or ColdFusion. However, unlike ASP or ColdFusion, PHP is a cross-platform open source code. PHP can be executed in Windows NT and many different Unix versions. It can also be compiled into an apache (the most popular WEB server platform on Unix) module or a CGI binary file. PHP is especially lightweight and convenient when compiled into an apache (the most popular WEB server platform on the Unix platform) model. It does not have any burden on tedious programs, so it can return results quickly, and does not need to adjust mod_perl to maintain a small server memory image.
  
In addition to generating the content of your webpage, PHP can also be used to transmit HTTP headers. You can set cookies, authorize management, and redirect users to new pages. It can also access many databases and ODBC. In addition, it can be integrated with a variety of external libraries, allowing you to do almost anything, from creating PDF files to parsing xml (standardization is getting closer and closer ).
  
PHP code is embedded in Web pages, so you do not have to create a special development environment or IDE for it. You use Flag PHP code (you can also set PHP to the <%> flag in ASP form or even use it ). The PHP engine will process anything between these marks.
  
The syntax of PHP is similar to that of C and Perl. You do not need to declare variables before use. It is also fast to create arrays and hashes (correlated arrays. PHP's initial object-oriented feature also provides a simple way to organize and encapsulate code.
  
Although PHP runs fastest when embedded in apache (the most popular WEB server platform on the Unix platform, however, there is still a guide on how to seamlessly integrate PHP with Microsoft IIS and Netscape Enterprise Server on related sites. If you do not have PHP, you can download it from its official website. You can also find a user manual that includes all PHP functions and features.
  
   Create your own commands
Because PHP scripts are written in HTML documents, you do not have to use special editors to create pages. However, you must execute PHP on a server that supports PHP. If you are using your own server, it is very easy to do. If you are using the ISP service processing page, you need to contact your ISP's customer service team to ask them to help you install PHP.
  
For Unix systems, you must have basic Unix skills, such as using make and a C language compiler. You also need an ansi c compiler and a Web server on your system.
  
For Windows 95/NT, you need one of the following servers: Microsoft Personal Web Server, Microsoft Internet Information Server 3 or 4, apache (the most popular WEB Server platform on Unix) 1.3.x, or Omni HTTPd 2.0b1.
  
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.