PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to use Quickform2 inputfile/upload?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTML
View previous topic :: View next topic  
Author Message
Jb boin



Joined: 20 May 2008
Posts: 6
Location: Grenoble, France

PostPosted: Mon Jul 07, 2008 3:34 pm    Post subject: How to use Quickform2 inputfile/upload? Reply with quote

I am trying to figure out how the Quickform2 inputfile (to upload files), i tried using the builtin-rules.php example but when i upload a file, $formvalues return me this :
Code:
  ["testUpload"]=>
  array(5) {
    ["name"]=>
    string(22) "logorc2.6.png"
    ["type"]=>
    string(9) "image/png"
    ["tmp_name"]=>
    string(14) "/tmp/phpNtzuzT"
    ["error"]=>
    int(0)
    ["size"]=>
    int(19335)
  }


But the file doesnt exist in /tmp, so how can i recover the uploaded file (moveUploadedFile doesnt exist in QF2)?

Thanks by advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTML All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software