PHP Initial Solution

Source: Internet
Author: User
Tags php tutorial microsoft iis

What is the initial solution of php--php

PHP (PHP training PHP tutorial) is a server-side scripting language used to make dynamic Web pages. You create pages from PHP and HTML. When a visitor opens a Web page, the server handles the PHP instruction and then sends its processing results to the visitor's browser, as if the ASP or ColdFusion. However, PHP is different from ASP or ColdFusion in that it is a cross-platform open source code. PHP can be executed in Windows NT and many different versions of Unix, and it can also be compiled into an Apache module or a CGI binary file. PHP is especially lightweight and handy when compiled into Apache mode. It does not have the burden of any cumbersome program, so it can quickly return results without the need to adjust the mod_perl in order to maintain a smaller server memory image.

In addition to the content that can be used to generate your Web pages, PHP can also be used to send HTTP headers. You can set up cookies, authorize administration, and redirect users to new pages. It also has good access to many databases and ODBC. It can also be integrated with a wide variety of external libraries, allowing you to do almost anything from creating PDF files to parsing XML.

The PHP code is embedded in the Web page, so you don't have to create a special development environment or IDE for it. You use the sign PHP code (you can also set PHP to use the ASP form of the logo or even use). The PHP engine will handle anything between these flags.

The syntax of the PHP language is similar to that of C and Perl. You do not need to declare variables before using them. Creating arrays and hashing (associative arrays) is also fast. The initial object-oriented nature of PHP also provides an easy way to organize and encapsulate code.

Although PHP runs fastest when embedded in Apache, there are operational guidelines on how to make it seamlessly integrated with Microsoft IIS and Netscape Enterprise server on the PHP-related site. If you do not have PHP, you can download it on its official website. You can also find a user manual that includes all of PHP's functions and features.

To create your own commands

Because PHP scripts are written in an HTML document, you don't have to create a page with a special editor. But you have to execute PHP on a server that supports PHP. If you're using your own server, it's easy to do it. If you are processing the page through your ISP service, you will 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 make and a C language compiler. On your system, there is also an ANSI C compiler, as well as a Web server.

For windows95/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 H TTPD 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.