First Push
This commit is contained in:
31
BackendServer/index.php
Normal file
31
BackendServer/index.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
print '<!-- GETTING TRACKERPHP -->';
|
||||
require_once('/var/www/bin/inventorytrackconnector.php');
|
||||
print '<!-- MAKING NEW DB -->';
|
||||
$database_instance = new Database();
|
||||
print '<!-- DONE SETUP -->';
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Inventory Track</title>
|
||||
<meta http-equiv="Content-Type" content="charset=utf-8" >
|
||||
<meta name="description" content="Inventory Tracking Software" >
|
||||
<meta name="author" content="Noah Backus" >
|
||||
<!-- <link href='resume.css' rel='stylesheet' type='text/css' media='screen'/>
|
||||
<link href='print.css' rel='stylesheet' type='text/css' media='print'/>
|
||||
<link rel="icon" type="image/svg+xml" href="favicon.svg"> -->
|
||||
</head>
|
||||
|
||||
<body id="resume">
|
||||
<p>
|
||||
<?php print '<!-- RUNNING DB -->'; print $database_instance->test_con()[0]['name']; print '<!-- RUN IS DONE -->';?>
|
||||
</p>
|
||||
<p> should be something above </p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user