Home >Backend Development >PHP Problem >How to determine whether a website uses asp or php
First of all, a small number of websites still retain some obvious characteristics. We can identify them by directly looking at the URL suffix of the website. As shown below. Asp websites generally have asp or aspx at the end of their URLs, and PHP websites usually end with PHP.
But now most websites use related technologies to rewrite the URL, so generally what we see may be static page html or There is no suffix, as shown in the picture below. Basically, from this method, you cannot tell what technology is used.
Our other method is to use the browser's developer tools to check,according to the website server Returned response message , we can check what technology the website uses. We press the shortcut key F12 to bring up the developer tools. Or you can open it from the menu as shown below.
Then we select the network menu, as shown below. Then for the data type below, we just select ALL.
If there is little or no data in the developer tools, we need to refresh the page at this time, as shown below. After refreshing, we can see the data returned It worked.
When we click on any file, we can see the server and other information.
As shown below, we can see that the website uses PHP technology.
##But this is not an absolute . For example, when you look at Baidu web pages, you can hardly see What technology was used? Many large websites may have modified this information, as shown below.
The above content is for reference only!
Recommended video tutorial:The above is the detailed content of How to determine whether a website uses asp or php. For more information, please follow other related articles on the PHP Chinese website!