Your Ad Here

Posted By

fruehjahr on 01/05/09


Tagged

files upload


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

HUGOT
will_00
fackz
umang_nine
BrianCoyDesign


Uploading of files


 / 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.