$_FILES empty, trouble with uploading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello people. 

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

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" enctype="multipart/form-data">
<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">
<label>Category:</label>
<select name="video_category">
	<option value="1">yada</option>
	<option value="5">yada2</option>
</select>
<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!" />
</form>
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 ? 

Thanks, 
Karl


_________________________________________________________________
Share photos with friends on Windows Live Messenger
http://go.microsoft.com/?linkid=9650734

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux