Description:class to upload the file to specific location
upload($fileName, $tempFileLoc, $fileSize, $fileType, $fileDir)
This constructor sets the values of these variables and calls the fileUpTempLoc() function to check the whether file is uploaded to the temporary location.
to check whether file is uploaded or not to the temporary location
to check whether destination directory exists
to check whether file is already there else move the file to the destination
Pre-requisite for using the class:
Virtual directory should be set
Url of the class:
for usage of the class, please refer to source code of example.php file.