It is currently Mon Jul 23, 2018 1:57 pm


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: Handling uploaded files with php (input type=file)
PostPosted: Tue Aug 21, 2007 5:10 pm 
Noobie
Noobie

Joined: Sun Jan 14, 2007 12:44 pm
Posts: 6
I have a problem - I'm writing a script for users to upload screenshots and guitar effects, but for some weird reason it won't upload - I'm getting it to FTP the file to another server, which will host those files for the site. Problem - the files are, indeed, being uploaded, but they're always empty, at 0 bytes... phpinfo() says there's no upload_tmp_dir set, so that could be the problem... How do I set a value for this? I tried a .htaccess with this line:

php_value upload_tmp_dir "./upload/"

and now it gives me 500 internal server error...

Can anyone help?


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

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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011