/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$uploadedImage = new Upload($_FILES['uploadImage']); if ($uploadedImage->uploaded) { $uploadedImage->Process('myuploads'); if ($uploadedImage->processed) { echo 'file has been uploaded'; } }
URL: http://www.verot.net/php_class_upload.htm