if (isset($_GET['hidden'])) {
    if (isset($_GET['shapeType']) && isset($_GET['shapeName']) && $_GET['shapeName'] != "") {
        if ($_GET['shapeType'] == 'circle') {
            $theShape = new Circle($_GET['txt1']);
        } else {
            if ($_GET['shapeType'] == 'rectangle') {
                $theShape = new Rectangle($_GET['txt1'], $_GET['txt2']);
            }
        }
        $theShape->name = $_GET['shapeName'];
        echo $theShape->Identify();
        ?>
<br/><?php 
        echo "Area: " . $theShape->Area();
        ?>
<br/><?php 
        echo "Perimeter: " . $theShape->Perimeter();
    } else {
        echo "You didn't enter all the information... try again!";
    }
}
?>

	</div>




</form>
</body>
</html>