WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Progression bar for PHP http multiple file uploads, using Infomentum's AppletFile
Categories : PHP, HTML and PHP, Filesystem Update Picture
Ronald Chmara
Date : Jun 10th 2000
Grade : 1 of 5 (graded 1 times)
Viewed : 4861
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Ronald Chmara
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

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
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
upload function using PHP's FTP abilities.
Categories : PHP, Filesystem, HTML and PHP
Opening and formatting text files into HTML on the fly- or HTML from templates.
Categories : PHP, HTML and PHP, Filesystem
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
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
Open directory and File download
Categories : PHP, Filesystem, Directories, HTML and PHP
Directory TreeView - File Manager & Explorer - FTP - Utility - PHP/HTML -
Categories : PHP, Directories, FTP, Filesystem, HTML and PHP
a function that builds an HTML select list from any mysql table.
Categories : PHP, MySQL, HTML and PHP
Tag content retrieval from websites with preg_match
Categories : PHP, Regexps, Arrays, HTML and PHP
Message of the Day - Random Message (Needs MySQL!)
Categories : Databases, HTML and PHP, PHP, MySQL
Check parameters validity. Paranoia was designed to check the validity of the parameters that a php page will receive after a form submission. It can be used to check the variables sent by POST or GET
Categories : Algorithms, HTML and PHP, PHP, Variables
Alternating background color for HTML table rows
Categories : PHP, Databases, MySQL, HTML and PHP
Constantly refresh your PHP/HTML page data.
Categories : PHP, HTML and PHP, Sybase