Hello people. 

I have some trouble with an upload script. It was working until the last 2 

Whenever I tried to upload a file to a remote server, the $_FILES array is 
empty. I print global at start of the script there's nothing. 

Here's the form

<form action="http://random.server.com/video/upload.php"; method="post" 
<input type="hidden" name="sessid" value="yada">
<input type="hidden" name="ugroup" value="xfr">
<input type="hidden" name="memberid" value="25798">
<input type="hidden" name="referrer" value="server.com">
<label>Title:</label><input type="text" name="video_title" value="N/A" 
size="20" maxlenght="30">
<label>Description:</label><input type="text" name="video_desc" value="N/A" 
size="20" maxlenght="255">
<select name="video_category">
        <option value="1">yada</option>
        <option value="5">yada2</option>
<input type="hidden" name="MAX_FILE_SIZE" value="209715200" />
<input name="vid_files" type="file" size="30" /><br />
<input type="submit" name="upload" class="sbtn" value="Go!" />
So it's a basic form, I do have the enctype. 

the print_r($GLOBALS) return me [_FILES] => Array

PHP Version 5.2.6file_uploads is On
post_max_size 200M
upload_max_filesize 200M
upload_tmp_dir no value (it use /tmp)

the /tmp folder is writable by apache (chmod 777) with 197G of space left. 

So, obviously, I'm lost as why I can't upload file anymore. 

Anyone had a similar problem ? What could I do to find/fix the problem ? 
Is it even related to PHP ? 


Share photos with friends on Windows Live Messenger

Reply via email to