Recommended: How to intercept the code of the Asp background login password In a security check, I actually got the webshell, but I also need the social worker to have other information in his email address, so I have to know his habits. The database was downloaded, but the md5 password could not be decrypted. Alas, it seems that you just need to record his login administrator account password! Save the trouble of getting rid of the problem! This password is not important or not.
What is PHP
PHP stands for Hypertext Processor, which means you have to know that it is a server-side processing language and comes in HTML. Its most commonly used place is web pages, where data is sent from the client to the web server, information is processed and the result is returned.
However, this universal language is not limited to web pages at all. PHP can also be used in command line shells. It can be used as an extension of the operating system to execute the corresponding PHP file.
Applications in databases are also a strength of PHP. MySQL, SQL, Microsoft Access, Oracle and InterBase are just some databases that use the PHP language.
What is ASP
ASP is the abbreviation of Acitve Server Pages, which is also a server-side scripting language. In order to achieve the effect of dynamic web pages, Microsoft integrates it into the service provider process, which is the well-known COM (Component Object Models).
Although ASP is not limited to running on IIS (Internet Information Services) servers, it can only perform its full functions on IIS. The operating systems that initially supported it were Windows 2000 and NT4 Option Pack. Similarly, ASP can also run on platforms other than IIS. PWS (Personal Web Server) can interpret ASP code on Windows NT, 95, and 98, but the functions will be limited.
Cost issues
Many people may want to argue about the cost of ASP and PHP, but this is really not a major focus. Most users who buy IIS are for better integration with Microsoft products. By the way, IIS is definitely worthy of the extra money spent.
PHP and the Apache Web Server that runs it are both free. They are provided by the Apache Software Foundation - safe and free. Because of this, PHP can be installed for free. The only cost is to purchase the server that runs it and the installation time cost.
Speed issues
This issue is also the most intense debate between the two sides in server-side scripting languages. Since these two languages came to this world, the debate on this issue has never stopped.
Generally speaking, after an application has used the memory, it should be returned to the operating system. As long as the memory is always used by the program, the operating system will not usually ask for it to be reclaimed. PHP's unique approach to using memory makes it an advantage. After PHP obtains a piece of memory, it temporarily retains it. When the memory is used up, it does not return it to the operating system, but is reserved for possible operations next. This can be modified in the configuration file.
Because of the COM-based architecture, ASP is a little slower because it calls object models, and the system has to load these models, which is a bit like programming languages that use controls. In terms of memory consumption, it is also almost the same as standard applications.
In fact, the biggest difference in speed is the computer on which IIS or Apache Web Server runs. If the computers are different, the language on a better-configured computer will run faster.
Compatibility Thoughts
Speaking of compatibility issues, that's too much, because no two computers in the world have exactly the same hardware and software, and because of this, people want to know how programs will work on the devices they already have.
In this category, PHP may have won one step ahead, and it wins in open source, which means that there may be countless developers, better resources, larger documentation libraries, and more behind it. Due to these factors, the more PHP is developed, the more programmers learn.
ASP is generally believed to be able to run on IIS. As mentioned earlier, this is not very correct. In fact, ASP can also run on Apache. Apache ASP can run limited ASP functions on any Apache server. Just turn on mod_perl.
Remember that PHP can run on any platform, and Mac OS X, Windows, Linux and Solaris are all operating systems that can run it.
Safety considerations
No matter how security is, anything is likely to be broken, and the only thing lacks is the problem of time and resources.
Apache's security options make it more secure than Windows Server operating systems. IIS already has many known security vulnerabilities and has been patched. In comparison, Apache's security is obvious to all.
Programming ease
ASP comes from Visual Basic, the most common language in Microsoft products, so it is very simple and easy to learn; while PHP is based more on C++, which may be part of the reason for its fast speed.
General misunderstanding of ASP
ASP and ASP.NET are not the same thing at all. ASP.NET is a complete rewrite of the ASP programming language. Because of this, most of its functions are not backward compatible. It is suitable for Microsoft's updated .NET architecture.
in conclusion
From a personal point of view, PHP is faster, safer, easier to use, more compatible, and even cheaper, but it doesn't mean that ASP is useless. There is no need to discuss further and further, just use the language that is most compatible with your system and most in line with your expectations.
Share: Collection of HTML code writing HTML is Hypertext Markup Language (HypertextMarkupLanguage), also known as WEB web language, is necessary to understand it on web pages. Although there are many tools for making web pages now, such as Dreamwvear, FrontPage, etc., you can actually make beautiful web pages without understanding these codes. . . Because HTML content is numerous, few people are willing to write code to make web pages (ine efficiency), and most of them use