AppletFile from Infomentum:
http://www.infomentum.com/appletfile/
---
Syntax examples for file uploading
---- test.php3
<html>
<head>
<title>Appletfile uploads</title>
</head>
<body>
<APPLET CODE=FileUpload.class ARCHIVE=FileUpload.jar NAME=FileUpload
CODEBASE="/AppletFile/classes" WIDTH=420 HEIGHT=180 MAYSCRIPT>
<PARAM NAME="cabbase" VALUE="/AppletFile/classes/FileUploadIE3.cab">
<PARAM NAME="cabinets" VALUE="/AppletFile/classes/FileUpload.cab">
<PARAM NAME="directory" VALUE="C:\">
<PARAM NAME="maxfiles" VALUE="4">
<PARAM NAME="minfiles" VALUE="0">
<PARAM NAME="errorlimit" VALUE="1024000">
<param name="finishUrl" value="/result.php3">
</APPLET>
<FORM ENTYPE "multipart/form-data" ACTION="result.php3"
onSubmit="return document.FileUpload.submit(document,this,true)"
METHOD=POST>
<INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="10240000">
<INPUT TYPE="submit" VALUE="Upload">
</FORM>
</body>
</html>
---
Syntax for uploaded files:
--- result.php3
<html>
<head>
<title> Uploaded files </title>
</head>
<body>
<?
/* The userfile scheme doesn't use a php array[], */
/* so the files start out as separate FILE1, FILE2, */
/* FILE3, FILEn, variables. */
$fp = fopen ($FILE1, "r");
if (isset($FILE2)){ $fp2 = fopen($FILE2, "r");}
if (isset($FILE3)){ $fp3 = fopen($FILE3, "r");}
if (isset($FILE4)){ $fp4 = fopen($FILE4, "r");}
/* sample functions to display the uploaded files */
fpassthru($fp);
if (isset($fp2)){fpassthru($fp2);}
if (isset($fp3)){fpassthru($fp3);}
if (isset($fp4)){fpassthru($fp4);}
?>
Upload Complete.
</body>
</html>
Random Image Display Categories : PHP , Filesystem , Graphics , HTML and PHP A simple php file uploader Categories : PHP , Filesystem , HTML and PHP Open directory and File download Categories : PHP , Filesystem , Directories , HTML and PHP How to let a user download a picture by clicking on it instead of needing to right click and Save-As. Categories : HTTP , PHP , HTML and PHP , Filesystem Opening and formatting text files into HTML on the fly- or HTML from templates. Categories : PHP , HTML and PHP , Filesystem PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP , Email , PHP , Perl , HTML and PHP Handle multiple file upload Categories : Complete Programs , Filesystem , PHP , HTML and PHP Directory viewer, customize how you display the file structure, easy to
understand. Found out about PHP 3 days ago, and this is my first prog. Categories : HTML and PHP , Complete Programs , Directories , Filesystem , PHP Directory TreeView - File Manager & Explorer - FTP - Utility - PHP/HTML - Categories : PHP , Directories , FTP , Filesystem , HTML and PHP PageRank Display Categories : Search Engines , HTML and PHP , PHP How to find the name of the current file? Categories : PHP , Filesystem , Strings mySQL/PHP/search with multientry
form and table output with colored rows Categories : PHP , Beginner Guides , MySQL , HTML and PHP , Databases Print out array key => value in colored HTML Categories : PHP , Arrays , HTML and PHP Calendar using Date function Categories : HTML and PHP , PHP , Date Time , Calendar Unix Disk Information with graphs Categories : PHP , Shell Scripting , Filesystem