View Full Version : What language is this site programmed in?
What language is this site programmed in?
http://arstechnica.com/site.ars
LouBarlow
23-11-2004, 21:05
Looks like a standard 'blog' - weird.
Could be anything really, php, asp, jsp, take your pick.
Not hard to change the file extensions, and then get the language parser to parse that particular file type (certainly easy enough with PHP, so I assume it's as easy with other scripting engines).
Could be anything really, php, asp, jsp, take your pick.
Not hard to change the file extensions, and then get the language parser to parse that particular file type (certainly easy enough with PHP, so I assume it's as easy with other scripting engines).
Hmm that's what foxed me, didn't know you could change the extensions. How is this done with php?
Nice bit of css on that site, love the way the colour and fonts can be changed.
ASP.NET (probably) - there's a viewstate in there - not sure if this is widely used though.
Hmm that's what foxed me, didn't know you could change the extensions. How is this done with php?
Actually, thinking about it, it's a web server configuration setting. In Apache (and presumably other web servers), you set up handlers for particular filetypes.
So normally you tell it to send .php and .php3 to the PHP parser. You can just as easily tell it to send .html .ars .dan etc to the same parser (or any other parser) if you wanted.
looking at the header information :
Server: Microsoft-IIS/6.0
Content-Length: 7624
Content-Type: text/html; charset=utf-8
Client-Date: Tue, 23 Nov 2004 23:06:51 GMT
Client-Response-Num: 1
Content-Base: http://arstechnica.com/
Link: <http://arstechnica.com/index.ars/rss>; /="/"; rel="alternate"; title="RSS"; type="application/rss+xml"
MicrosoftOfficeWebServer: 5.0_Pub
Title: Ars Technica - General Information
X-AspNet-Version: 1.1.4322
X-Powered-By: ASP.NET
I think the bottom 2 headers give it away ;)
Bah! Beaten to it.
Was about to look up the headers myself, was on a different PC earlier so wasn't easy to do....
Oh, well... :)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.