Craigslist's Programming Language?
Can anyone please tell me what programming language is Craigslist written in? Whenever I click on an ad on Craigslist, its url ends with .html. How is that possible? If you create an add on Craigslist, you're basically adding information to a database (i.e. MySQL) and when someone views your ad, it's basically fetching from database. I think Craigslist is written in PHP, but why all the ads have a .html url?
What MP said.
But, if you're interested in YOUR php files showing in the address bar as html, I read a long time ago that you can do exactly that (choose to change what extensions are shown as what to your visitors in the address bar) in htaccess. Google for it. As I remember, the settings were pretty simple to change.
Note that Apache (and probably most any other web server) can be configured to process any file extension as whatever application type you desire. If you wanted to for some reason, you could configure your site to process files with ".asp" suffixes as PHP files (maybe to throw off people trying to figure out how you programmed your site?).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)