|
Posted by Rik Wasmus on 11/23/07 17:31
On Fri, 23 Nov 2007 18:26:55 +0100, <nicemotion@gmail.com> wrote:
> On 23 Nov, 17:59, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
>> On Fri, 23 Nov 2007 17:37:28 +0100, <nicemot...@gmail.com> wrote:
>> > the following easy script correctly insert a record in the DB but i=
s
>> > not moving the images (Logo and Foto) to the server /foto folder.=
>>
>> > can't understand why 'cause the script is easy and correct and i gu=
ess
>> > it loses the $file_temp var (actually the printout of $file_temp0
>> > return nothing)
>>
>> > i even tryed to write it repeating the parameters i/o using variabl=
es
>> > but no results.
>>
>> Examine =
>> $_FILES['indexname']['error']http://nl2.php.net/manual/en/features.fi=
le-upload.errors.php
> written like this returns nothing , the record is inserted but the
> pics are not uploaded.
>
> ......... GetSQLValueString($nuovo_nome1, "text"),
> GetSQLValueString($_POST['Descrizione'],
> "text"),
> GetSQLValueString($_POST['Pdf_'], "int"));
>
>
> $errore=3D($_FILES['Logo']['tmp_name']['error']);
>
> print($errore);
>
> However i'm afraid (almost sure) i'm not using "" $_FILES['indexname']=
> ['error'] "" correctly
What does var_dump($_FILES); tell you? 'Logo' might not even be there...=
..
-- =
Rik Wasmus
[Back to original message]
|