<!-- 
//    Adgala, Rohan Karthik    Account:  jadrn002
//         CS545, Fall 2015
//         Project #3
 -->
<?php 
include 'helpers.php';
include 'p3.php';
include 'file_upload.php';
check_post_only();
$params = process_parameters();
fileUpload();
store_data_in_db($params);
include 'confirmation.php';
?>
    
<?php

include 'helpers.php';
include 'p2.php';
check_post_only();
/*if ( get_db_handle() ) {
      echo "connected to sql database <br/>";
  } */
store_data_in_db();
include 'confirmation.php';