You are here: Re: move_uploaded_file lose variables « PHP Programming Language « IT news, forums, messages
Re: move_uploaded_file lose variables

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]


Удаленная работа для программистов  •  Как заработать на 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

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