What is PHP file

Source: Internet
Author: User
Tags what php
A netizen asks what file is PHP? PHP is a server-side, embedded HTML scripting language, PHP distinguishes other like client Java where its code executes on the server side.

One, PHP is what, what can PHP do?

PHP can do what any other CGI program can do, such as collecting tabular data, generating dynamic page content, or sending and receiving cookies. Perhaps the most powerful and meaningful feature is that PHP supports a wide range of databases. Writing a Web page that supports databases is incredibly simple.

Currently supported databases: Adabas D interbase solid dbase msql Sybase empress MySQL velocis filepro oracle unix dbm Informix PostgreSQL php The protocol also supports "talking" with other services, such as IMAP, SNMP, NNTP, POP3, and even http. You can also turn on obscure network interfaces and other protocol interactions.

Second, a brief history of PHP

In the fall of 1994, Rasmus Lerdorf began to conceive PHP. The early non-release version was used on his homepage to track who was watching his online resume. The first version was introduced in early 1995, when PHP was only considered a personal page development tool. It consists of a very simple analysis engine that only understands very few special macros and Some of the tools used in the home page backend are common. such as guest books, counters and some other things. This parser was rewritten in 1995 and named Php/fi Second Edition. Fi comes from another package written by Rasmus to interpret data in the form of HTML. He combines a Personal home page tool script with a form parser, plus msql support. This produces php/fi. Php/fi grew up at a surprising pace, and people began to contribute their code to it.

It's hard to give a hard table, but it can be estimated that at the end of 1996, there were at least 15,000 sites in the world with Php/fi. By 1997, that figure had exceeded 50,000. At this point, the development of PHP has changed. The projects developed by Rasmus's own preferences and several people become a more organized group achievement. The EV Suraski and Andi Gutmans rewrite the parser. This new parser is the basis for PHP version 3. Many useful code from PHP /fi inherits to PhP3, and many are completely rewritten.

Today (1999) whether PHP/FI or PHP3 is bundled with many commercial products, such as C2-level Web servers and Red Hat Linux. Based on the data inferred from Netcraft, there are more than 150,000 websites that have been conservatively estimated to have applied PHP worldwide. It seems that it is more than a site running Netscape's flagship enterprise server on the Internet.

1.php is a Web page file. A PHP-enabled Web server is required to open through the browser. If you really want to open, you can open it with Notepad, but there are some web code. You don't have to read. 2. What you download is just a page that points to (or contains) the ringtone of that phone. You really have to get the address of that ringtone to download it.

3. Should not be PHP, is a PDF, you change the suffix, php file is a Web page format, with a text editor open, but the majority of the site is provided in PDF format, the installation of a PDF reader can be opened normally.

4. "Change the extension to HTML and open it with IE." ”

5. If the dreamwaver,php file is installed, displays the style that dreamwaver can open. But no need.

In the post you downloaded, see what the extension of that thing you downloaded, like the Word document behind the. doc, behind the PDF document is. pdf, followed by a. rar or. zip, and then replace it with the extension. PHP will open.

I have experienced this kind of problem before, as if download with download tool, some do not change back to the original extension by default.

General forum Things are not very big, directly click to save on the line, you will not encounter this situation

6. Notepad can be ~~~~~~~~~~ you want to use Word, fontpage also can ~ anyway is php scripting language ~

7.php file is * * page file, its operation requires the support of ISS service, if you want to open in IE browser, you must install the ISS service, otherwise it will not run. ISS Service is Internet Information Service, installation steps: (1) Control Panel--Add Remove Program--Add Delete component---internet Information Service--install. After the installation is complete, the Internet Information Services component is generated in the administrative tools and the Inetpub folder is generated in the C drive with a wwwroot folder. (2) Put your PHP file in the Wwwroot folder, must be this folder, put in other folders invalid. (3) Open IE Browser, enter in the Address bar: http://127.0.0.1/**** * * * * is your PHP filename, you can also change the PHP file name to Default.asp, so that you do not have to enter the file name, directly enter the line, 127.0.0.1 refers to the local machine.

With the above introduction, do you understand what PHP is?

  • 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.