File/www/flexupload_example.php

Description

flexupload_example.php

example how to use the FlexUpload class

Copyright (C) 2007 SPLINELAB, Mirko Schaal http://www.splinelab.de/flexupload/

All rights reserved

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html. A copy is found in the textfile GPL and important notices to the license from the author is found in the LICENSE file distributed with the program.

This copyright notice MUST APPEAR in all copies of the program!

--------------------------------------------------------------------------- Notes for migration from JavaUpload:

This example is exactly the same like the one for the JavaUpload Applet. As you can see migration from JavaUpload to FlexUpload is really simple. Just change the class name to "FlexUpload" and you are done.

FlexUpload uses a different approach to handle locale. Translations are now stored in external xml files and not in property lists compiled into the application. This is a great advantage because it's much more easier to maintain the language files. To specify the locale you now have to set the name of the language file including the path to it!

e.g.: in JavaUpload you wrote $jup = new JavaUpload(); $jup->setLocale("de_DE");

in FlexUpload you write $fup = new FlexUpload(); $fup->setLocale('locale/de.xml');

Includes
 require_once ("./class.flexupload.inc.php") (line 62)

including the FlexUpload class

Documentation generated on Mon, 18 Jun 2007 21:42:51 +0200 by phpDocumentor 1.3.0RC3