|
Posted by nicemotion on 11/23/07 17:26
On 23 Nov, 17:59, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Fri, 23 Nov 2007 17:37:28 +0100, <nicemot...@gmail.com> wrote:
> > Hi all,
>
> > the following easy script correctly insert a record in the DB but is
> > 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 guess
> > 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 variables
> > but no results.
>
> Examine $_FILES['indexname']['error']http://nl2.php.net/manual/en/features.file-upload.errors.php
> --
> Rik Wasmus
Many thanks Rik,
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=($_FILES['Logo']['tmp_name']['error']);
print($errore);
mysql_select_db($database...........
However i'm afraid (almost sure) i'm not using "" $_FILES['indexname']
['error'] "" correctly
Navigation:
[Reply to this message]
|