I ended up getting it to work, you can test it out at chaos67731.com (I will take down some time or a nother) just type in demo/1000
<?php
$newurl = "http://chaos67731.com/";
$newurl .=$_GET['client_number'];
if(isset($_POST['client_number']) && is_dir($_POST['client_number'])) {
header('Location: /'.$_POST['client_number']);
} elseif(isset($_POST['client_number'])) {
$error = '<span class="error"><p>Invalid client number!</p> </span><br>If You Have Any Questions Or Are Having Problems Getting To Your Splash Page Feel Free To Send Me An E-Mail At <span><a href="mailto:chaos67731@gmail.com">chaos67731@gmail.com</a> </span>';
}
?>
The Full page look like this if it would help anyone!
<? ob_start("ob_gzhandler"); ?>
<?php
$newurl = "http://chaos67731.com/";
$newurl .=$_GET['client_number'];
if(isset($_POST['client_number']) && is_dir($_POST['client_number'])) {
header('Location: /'.$_POST['client_number']);
} elseif(isset($_POST['client_number'])) {
$error = '<span class="error"><p>Invalid client number!</p> </span><br>If You Have Any Questions Or Are Having Problems Getting To Your Splash Page Feel Free To Send Me An E-Mail At <span><a href="mailto:chaos@gmail.com">chaos67731@gmail.com</a> </span>';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofallow" />
<title>Demo Page</title>
<style type="text/css">
html { background:#799ABC url(images/site-bg.png) repeat-x top left; }
#main {
width:700px;
height:640px;
margin:50px auto;
border:0px solid #111;
background:url(images/logo-bk.png) no-repeat;
text-align:center;
}
#main .opening {
padding-top:250px;
font-weight:bolder;
text-align:center;
text-transform:uppercase;
}
#main a {
padding-top:30px;
text-decoration:none;
color:#00F;
font-size:18px;
outline:none;
}
a focus { outline:none; }
#main span {
font-size:18px;
color:#00F;
padding:5px;
text-transform:uppercase;
text-decoration:underline;
}
.error p {
color:#f00;
font-size:24px;
text-transform:uppercase;
}
</style>
</head>
<body>
<div id="main">
<p class="opening">To get to your demo splash page enter your<br />
client id in the search field below and then press enter on your pc.</p>
<center>
<form method="post" action="">
<input id="button" name="client_number" type="text" />
<input value="Search" type="submit" />
</form>
</center>
<?php echo $error; ?> </div>
</body>
</html>