PHP-Class for easy implementation of FlexUpload in your own scripts
Located in /www/class.flexupload.inc.php (line 42)
allowed file extensions
the height of the flash movie
the locale
maximal allowed files
maximal allowed filesize
message to show when using SWFObject an Flash-Plugin is missing or wrong version
the path to flexupload.swf
path to the SWFObject Script
the url to the upload script
the width of the flash movie
Constructor
get the HTML code for implementing flexupload
see printHTML
prints the HTML code for flexupload to screen
see getHTML
set the allowed file extensions separated by semicolons (;)
set to empty string for all files
default is "*.gif;*.jpg;*.jpeg;*.png"
set the height of the application
the applet automatically scales to this height
default is 300
set the language file for the application
e.g "locale/de.xml" or "http://www.example.com/flexupload/locale/de.xml" set en empty string to use the default locale (english)
default is ""
set the maximum of files to upload at once
set this to -1 for no limit
default is 100
set the maximum filesize (in bytes) allowed to upload
default is 2MB (2097152 bytes)
set the message to show when using SWFObject an flash plugin is not installed or wrong version
default is "You may not have everything you need ..."
set the path to the SWF file
Give an absolute or relative path to flexupload.swf or an empty string if flexupload.swf is in the same directory like the php-file using this class.
default is empty string
set the path to the SWFObject JavaScript script
default is "js/"
set the postURL parameter
the postURL have to be a full url incl. protocol e.g. "http://localhost/upload.php"
set the width of the application
the applet automatically scales to this width
default is 500
Documentation generated on Mon, 18 Jun 2007 21:42:50 +0200 by phpDocumentor 1.3.0RC3