It is currently Tue Mar 19, 2019 5:56 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: move_uploaded_file relative path
PostPosted: Mon Oct 22, 2007 9:47 pm 
Newbie
Newbie

Joined: Mon Oct 22, 2007 7:59 pm
Posts: 1
I am able to perform a file upload using a File input widget and can verify that it is stored on the server in the /private/var/tmp directory. However whenever I try to do a move_uploaded_file on this tmp file to the directoy on my website, it fails.

Questions:
1) If I don't specify a directory in the destination path (only give a filename) where does it go?
2) What permissions do I need to have on a destination directory to allow PHP to do this move_upload_file.
3) Is there anyway to get more information about why the move_upload_file failed other than the reutrn code (false - indicating failure)?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderators: Moderators, Support Team

All times are UTC


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

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011