Posted by lawrence k on 01/30/07 00:30
On Jan 29, 6:45 pm, Rik <luiheidsgoe...@hotmail.com> wrote:
> lawrence k <lkrub...@geocities.com> wrote:
> > I've a file that starts like this:
>
> > <form id="pdsForm" method="post" action="/mcControlPanel.php"
> > class="mcForm" charset="UTF-8" enctype="multipart/form-data" >
>
> > and it contains this input:
>
> > <input id="biopic" name="biopic" type="file" />
>
> > The script recieving it does this:
>
> > $biopic = $this->core->getVar("biopic");We have no clue what code $this->core->getVar() does...
Sorry. It basically is the same as:
$biopic = $_POST["biopic"];
>
> > I get:
>
> > Array ( [name] => L-monkeySmall.jpg [type] => [tmp_name] => [error] =>
> > 3 [size] => 0 )
>
> > Error 3 is "Array ( [name] => L-monkeySmall.jpg [type] => [tmp_name]
> > => [error] => 3 [size] => 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
[Back to original message]
|