PHP Classes
Icontem

File: index.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mirko Mönninghoff  >  myFat  >  index.php  
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
 

Contents

Class file image Download
<?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>


 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products