Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to tell (as a client) if there is any server side code that's being processed (PHP/ASP.NET) or if it's simply static html files?

share|improve this question
    
Do you mean besides looking at the file extension? –  Michael Itzoe Jun 25 '10 at 20:06
    
@Michael - Lots of websites use MVC frameworks that don't ever show an extension. Like superuser.com for example. –  MrChrister Jun 25 '10 at 21:27
add comment

2 Answers

Try builtwith.com, it will tell you everything it can find out about the platform the server is running on.

share|improve this answer
add comment

You can't always know for sure. Here's an example why. I can set apache to handle a specific extension any way I want. I can have php render a .html document which contains PHP.

All the user will see is they are served an HTML document (.html extension).

For the most part though, the extension can give you a hint, but also if there's dynamic content that's a good clue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.