Click here to Skip to main content
12,759,844 members (30,854 online)
Rate this:
Please Sign up or sign in to vote.
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.
Posted 20-Jan-11 19:46pm
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
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.
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?
SAKryukov 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 :)
SAKryukov 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...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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.



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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 4 Feb 2016
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100