<?php
/* Example: MyFAT */
error_reporting(E_ALL); # while testing
require_once ("myfat.php");
$myFServ = new myFat();
?>
<html><head><title>MySQL Fileserver using a virtual FAT</title></head>
<body>
<form action="<?=$myFServ->myScriptName?>?upload=true" method="post" enctype="multipart/form-data">
<input name="filename" type="file" size="60">
<input type="submit" value="Upload">
</form>
<a href="<?=$myFServ->myScriptName?>">REFRESH</a>
<?
$myFServ->listfiles();
?>
</body></html>
|