I know PHP fairly well, but for whatever reason, I'm just not wrapping my head around ASP.
I have this script in PHP (designed for simple URL content replacement):
Expand|Select|Wrap|Line Numbers
- if (isset($_GET[article])) {
- if (file_exists($_GET[article]."html")) {
- include $_GET[article]".html";
- } else {
- include "default.html";
- }
- } else {
- include "default.html";
- }