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?
|