PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Mirko Mönninghoff  >  myFat  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Simple upload and download form (store binaries into the virtual harddisk and download them over your webbrowser)
Class: myFat
Store binaries in a MySQL based virtual hard drive
Author: By
Last change:
Date: 15 years ago
Size: 523 bytes



Class file image Download
/* 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>
<form action="<?=$myFServ->myScriptName?>?upload=true" method="post" enctype="multipart/form-data">
<input name="filename" type="file" size="60">
<input type="submit" value="Upload">
<a href="<?=$myFServ->myScriptName?>">REFRESH</a>