Posted By

irishsk on 11/11/08


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

dsntos


Upload File


 / Published in: PHP
 

URL: http://www.verot.net/php_class_upload.htm

  1. $uploadedImage = new Upload($_FILES['uploadImage']);
  2.  
  3. if ($uploadedImage->uploaded) {
  4. $uploadedImage->Process('myuploads');
  5. if ($uploadedImage->processed) {
  6. echo 'file has been uploaded';
  7. }
  8. }

Report this snippet  

You need to login to post a comment.