What is PHP_PHP?

Source: Internet
Author: User
Tags microsoft iis
What is PHP. 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 uses PHP as a server scripting language used to create a dynamic webpage. 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 module or a CGI binary file. PHP is especially lightweight and convenient when compiled into an Apache 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. 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 the fastest when embedded in Apache, there is still a guide to how to seamlessly integrate it with Microsoft IIS and Netscape Enterprise Server on PHP-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 need to use a special editor 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 1.3.x, or Omni HTTPd 2.0b1. You can find all the information about installing and setting PHP on the PHP website. David Sklar is the chief information officer of Student. Net Publishing. Adam Trachtenberg is the deputy director of Student. Net Publishing.

Http://www.bkjia.com/PHPjc/532146.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532146.htmlTechArticlePHP is a server-side scripting language used to make dynamic web pages. You can create pages through PHP and HTML. When a visitor opens a webpage, the server processes the PHP command and places it...

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.