You are here: Re: upload file error 3: "The uploaded file was only partially uploaded" « PHP Programming Language « IT news, forums, messages
Re: upload file error 3: "The uploaded file was only partially uploaded"

Posted by Rik on 01/29/07 23:45

lawrence k <lkrubner@geocities.com> wrote:

> I've a file that starts like this:
>
> <form id=3D"pdsForm" method=3D"post" action=3D"/mcControlPanel.php"
> class=3D"mcForm" charset=3D"UTF-8" enctype=3D"multipart/form-data" >
>
>
> and it contains this input:
>
> <input id=3D"biopic" name=3D"biopic" type=3D"file" />
>
> The script recieving it does this:
>
> $biopic =3D $this->core->getVar("biopic");

We have no clue what code $this->core->getVar() does...

> I get:
>
> Array ( [name] =3D> L-monkeySmall.jpg [type] =3D> [tmp_name] =3D> [err=
or] =3D>
> 3 [size] =3D> 0 )
>
> Error 3 is "Array ( [name] =3D> L-monkeySmall.jpg [type] =3D> [tmp_nam=
e]
> =3D> [error] =3D> 3 [size] =3D> 0 )". As you can see, 0 kilobytes were=

> uploaded.
>
> What should I look for? I've been looking on the web for awhile and so=

> far I've found little useful information about what Error 3 typically
> indicates.

1. Check what upload directory is set.
2. Check wether you have writing permissions in that directory.
3. Make sure you've got space left (see another big thread about 2 weeks=
=

ago I think...).
-- =

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

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