OK, I solved it myself. The problem was the path I was using. It did not need to be the full web path just the root path.
Here is the code that works:
<?php
$email = $_POST['email'] ;
$directory = "forms/" . $email ;
if(is_dir($directory))
{
header("Location: $directory");
}
else
{
header("Location: http://nycityliving.com/notfound.php");
}
?>
Later, Ron