What file is php
Some netizens asked what file php is? PHP is a server-side scripting language embedded in HTML. What distinguishes PHP from other client-side Java is that its code is executed on the server side.
First, what is php and what can php do?
Currently supported databases: adabas d interbase solid dbase msql sybase empress mysql velocis filepro oracle unix dbm informix postgresql PHP also supports "talking" to other services through protocols, like imap, snmp, nntp, pop3, and even http. You can also open obscure network interfaces and interact with other protocols. Second, a brief history of php In the fall of 1994, rasmus lerdorf began to conceive of PHP. An early non-distribution version was used on his homepage to track who was viewing his online resume. The first version was released in early 1995, when PHP was only considered a personal homepage. Development tool. It consists of a very simple analysis engine that can only understand a few special macros and some common tools used in the backend of the homepage, such as guest books, counters and other things. This analyzer was launched in mid-1995 It was rewritten and named php/fi version 2. fi comes from another package written by rasmus, which is used to interpret data in html form. It combines the personal homepage tool script and form parser, and adds msql support. This way Thus php/fi was born. php/fi grew at an amazing pace, and people began to contribute their own code to it. It is difficult to give a hard statistic, but it can be estimated that at the end of 1996, at least 15,000 websites in the world were using php/fi. By mid-1997, this number had exceeded 50,000. And in At this time the development of PHP also changed. The project developed by Rasmus himself and several people became a more organized group achievement. EV Suraski and Andi Gutmans rewrote the parser. This new parser became the PHP version The basis of php3. A lot of useful code was inherited from php/fi to php3, and a lot of it was completely rewritten. Today (mid-1999), both php/fi or php3 are bundled with many commercial products, such as C2-level strength web servers and Red Hat Linux. According to the data provided by netcraft, it is conservatively estimated that the number of websites using php around the world has More than 150,000. So that's more sites on the Internet than there are running Netscape's flagship enterprise server. 1.php is a web page file. You need a web server that supports php to open it through a browser. If you really want to open it, you can open it with Notepad, but there are some web page codes inside. You may not be able to read it. 2. What you download is just a webpage that points to (or contains) the ringtone. You have to actually get the address of the ringtone before you can download it. 3. It should not be php, but pdf. Change the suffix. The php file is in web page format and can be opened with a text editor. However, most of the files provided on this site are in pdf format. Install a pdf reader and you can open it normally. . 4. "Change the extension to html and open it with IE." 5. If dreamwaver is installed, the php file will display the styles that dreamwaver can open. But there is no need. Go to the post you downloaded and see what the extension of the thing you downloaded is. For example, a word document is followed by .doc, a pdf document is followed by .pdf, a compressed document is followed by .rar or .zip, etc. Then replace the extension with .php and it will open I seem to have encountered this problem before. It seems that when downloading with the download tool, some extensions are not changed back to the original extension by default. Generally, the things in the forum are not very big, just click to save, and you will not encounter this situation 6. Notepad is enough~~~~~~~~~~
You can also use word or fontpage~
Anyway, it’s all php scripting language~ The 7.php file is a page file. Its operation requires the support of iss service. If you want to open it in IE browser, you must install the iss service, otherwise it will not run. The iss service is an internet information service. Installation steps: (1) Control Panel - Add and Remove Programs - Add and Remove Components - Internet Information Services - Installation. After the installation is completed, the internet information service component will be generated in the management tool, and the inetpub folder will be generated on the c drive, which contains a wwwroot folder. (2) Place your php file in the wwwroot folder. It must be in this folder. Putting it in other folders will not work. (3) Open the IE browser and enter: http://127.0.0.1/**** in the address bar **** is your php file name. You can also change the php file name to default.asp, so you don’t have to enter the file name and just press Enter. 127.0.0.1 refers to the local machine. With the above introduction, do you understand what php is? |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

In PHP, password_hash and password_verify functions should be used to implement secure password hashing, and MD5 or SHA1 should not be used. 1) password_hash generates a hash containing salt values to enhance security. 2) Password_verify verify password and ensure security by comparing hash values. 3) MD5 and SHA1 are vulnerable and lack salt values, and are not suitable for modern password security.

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

PHP handles file uploads through the $\_FILES variable. The methods to ensure security include: 1. Check upload errors, 2. Verify file type and size, 3. Prevent file overwriting, 4. Move files to a permanent storage location.

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values and handle functions that may return null values.

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.
