Click here to Skip to main content
15,921,837 members
Please Sign up or sign in to vote.
2.08/5 (8 votes)
See more:
If I open a Website page then Is there any way to check that which language(asp/php/html) has been used to develop that web page.

Please provide me a satisfactory answer.
Updated 3-Jun-22 21:47pm
Sandeep Mewara 21-Jan-11 0:58am    
No idea why the question was downvoted. Countered!
Dukhabandhu Sahoo 12-Sep-14 2:06am    
There is a similar question at

ASP is not a language. All right, ASP and NET is server-side technology, and all use HTML.
Nevertheless, the question makes sense, even though it looks like comparison of apples and oranges.

Strict answer is: no way! If you look at the page from the the client side or HTML source code, you cannot see any differences in principle -- all is hidden in server side and generated by HTTP server supporting one or more server-side modules.

In practice, indirectly, you can draw a conclusion: page name ending with ".aspx" is usually ASP.NET, ".php" - written in PHP. You can also look at the HTML source code and pay attention for the style, richness of the feature set and the like. If you know traditional styles and other aspect of developer's life, you can do some guesswork. Finally, some sites explicitly claim on the page: "Powered with ABC technology".

(By the way, there is a very common style (which I personally like) when no extensions are used. All URLs resembles "directory names" without extension. One of the Python server-side models even require this style via "URL traversing", even though the server-side script code does not have those "directories", can be even a single file.)

But! It does not guarantee correct answer! In principle, any of server-side language can perfectly imitate behavior of another. Again, everything is hidden on the server part, only resulting generated HTML code (more exactly, output of HTTP protocol, because also there are headers) is surfaced to the HTML client.
Share this answer
rashidfarooq 21-Jan-11 1:33am    
Perhaps I could not ask my question properly.I know that .aspx/.asp are ASP Page, .html are html page, .php are PHP page etc. In fact, I want to know that Which page has been developed using which SDK (Software Development Kit). I have seen so many html pages which can not be developed without any GUI Based Development Kit. Here is the link of a sample page.

Could any one guess that which IDE or SDK has been used to develop this page?
Sergey Alexandrovich Kryukov 21-Jan-11 1:58am    
I understood you correctly. I already answered. No way to tell exactly what's on HTTP server. Not because of any technical detail of the server-side technology but in principle. Think logically: HTTP: you send request, receive reply, which is normally some text: headers and HTML code. This is all you can see from your client side. How your request was transformed into reply? You can say nothing. It can be absolutely anything in between. Both PHP and .NET can generate absolutely any text, will you agree? No matter what. Behind the HTTP wall, they can collaborate with any engine, either on the same server or on some remote one, of any power and intellect -- a black box.
Espen Harlinn 30-Jan-11 16:09pm    
Good answer SAKryukov, I previously missed this one :)
Sergey Alexandrovich Kryukov 30-Jan-11 19:19pm    
Thank you very much, Espen.
Actually, by Friday I responded to many interesting questions very fast, and many Answers were never attended by anyone, probably because of the destruction by more and more new fresh questions and answers...
I tried out the site you mentioned and if the server wasn't outright lying to me this is what I got via Fiddler2:
Server: Apache/2.2.16 (Unix)
    mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5
    mod_perl/2.0.4 Perl/v5.8.8

From this I could assume that the website is run via perl CGI scripts running on an Apache webserver under Unix, but then again why should I trust what some webserver tells me. :-D

As has been said before me, it is impossible to say even when file extensions .aspx .ashx .pl and .php or whatever are present it doesn't mean a thing.


Share this answer
byte arr[] = toByteArray(str);

       long polynomial = 0xA001;
       long CRC = 0xFFFF;

       for (byte b : arr)
           CRC ^= b;
           for (int i = 8; i != 0; i--)
               if ((CRC & 0x0001) != 0)
                   CRC = (CRC >> 1) ^ polynomial;
                   CRC >>= 1;
Share this answer
Patrice T 4-Jun-22 3:52am    
Try to ask a question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900