
===================================================================================

 OverrUpload - File Upload Script
 Version 1.5.2

============================================================ (c) Copyright 2003 ===

 Version ............ 1.5.2
 Date................ 2003-09-05
 Author.............. Stefan Bckstrand

 E-mail.............. stefan@automateld.com
 Webbsite............ http://override.automateld.com

 Last update by...... Patrik Berggren
 Date last updated... September 8, 2003
 E-mail.............. info@mrwize.nu
 Website............. http://www.mrwize.nu

-----------------------------------------------------------------------------------


 # INTERFACE / IMPLEMENTATION of OverrUpload
 
  + Methods

	1. Form(sItem)
        	Get the form-field-item
		If it is a file a FileData object will be returned.
		If it is not a file a string value will be returned.


 # INTERFACE / IMPLEMENTATION of FileData

  + Poperties
  
	1. IsFile (MUST only be used as [READ])
		Returns true if it is a valid file.
	
	2. Filename ([READ/WRITE])
		Returns the filename.
	
	3. FileExtension ([READ/WRITE])
		Returns the fileextension.
	
	4. ContentType (MUST only be used as [READ])
		Returns the content-type of the file.
  

	5. HasErrors
		Returns TRUE if error exists.
		Returns FALSE if no errors has occured.


  + Methods

	1. SaveToFile(sFilePath)
		Saves the uploaded file.
		
		Argument: sFilePath
			Full physicalpath to were the file will be stored.
		
	
	2. GetErrors()
		If Any errors exists, an array with error messages
		will be returned.

		If no errors exists. an empty array will be returned.



 Enjoy!

-----------------------------------------------------------------------------------
Please respect the copyright protection of this script.
-----------------------------------------------------------------------------------
                       				Copyright 2003 by Stefan Bckstrand