You are here: Re: File Upload works but only for empty file « PHP Programming Language « IT news, forums, messages
Re: File Upload works but only for empty file

Posted by Rik on 01/16/07 22:41

Rik wrote:
> Arthur Jacobs wrote:
>> Good Day,
>>
>> I can upload a file as long as it is empty (thanks Hendri
>> Kurniawan). I do not know where to look.
>>
>> Can someone help me understand what I need to do to upload a small
>> image. http://chops.novatrope.com/game/test/upload_file3.php
>>
>> Here is some more info http://chops.novatrope.com/info.php
>
> Perhaps:
> upload_tmp_dir no value
>
> It should take the systems default if nothing is set, but maybe
> there's something wrong with it. Try to make a tmp dir, chmod 0766,
> set it as upload_tmp_dir, and try again. If that doesn't work, maybe
> try 0777.
>
> The rest of the values all seem OK.

If I construct a form to post I get a:

UPLOAD_ERR_PARTIAL
Value: 3; The uploaded file was only partially uploaded.

So it indeed seems a write issue on the server side.

Oh, and if that doesn't work, please share the code with us. I can browse
http://chops.novatrope.com/game/test/, but I cannot see the code :-).
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация