Code:
<?php
@include("header.html");
@include("middle.html");
if ($_GET["action"]) {
$includeFile = $_GET["action"] .".php";
if (@file_exists($includeFile))
@include($includeFile);
else
echo "Coming Soon!";
}
else {
@include("content.php");
}
@include("footer.html");
?>
That is the code in which one of my sites is driven by.
I'm not very PHP savvy, and I was wondering how I could include 404.shtml into where the "Coming Soon!" is.
I'm just not sure how to include a file in an echo.
Sorry for the newb question