I have come from a PHP background - can anyone help me translate this code
snippet into Coldfusion?
$_GET['page'];
if(!$page || $page == "index")
$page = "homepage";
if(file_exists($page.".php"))
$include = $page.".php";
else $include = "error.php";
include($include);
As you can see - i simply want to be able to do this \?page=whatever. then
that page will be included into the index page.
Thanks....