Re: help with upload IIS php 4.1.2

From: Date: Thu, 18 Apr 2002 15:07:53 +0000
Subject: Re: help with upload IIS php 4.1.2
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-13163@lists.php.net to get a copy of this message
Make sure the path in you PHP.ini to your temp folder is setup and that path exists. When you upload files, they are temporarily placed in this temp directory (which you set in php.ini). Double check this exists. good luck, -- Nicole Amashta Web Application Developer www.aeontrek.com "Cybero" <tomas@llarik.sk> wrote in message news:20020418150128.12819.qmail@pb1.pair.com... > Section in my php.ini > > register_globals = on > > I also try $_FILES["userfile"]["name"] but nothing. > > > > Alberto. Sartori <alberto.sartori@cellnetwork.it> píse v diskusním > pøíspìvku:B02E00B4416A134B9641A93060D2BDDD64825A@exgbgmb01.europe.cellnetwor > k.com... > If you've turned on the Global Variables you can use this: > > $_FILES["userfile"]["name"] > $_FILES["userfile"]["size"] > > > -----Messaggio originale----- > Da: cybero [mailto:tomas@llarik.sk] > Inviato: giovedì 18 aprile 2002 16.42 > A: php-windows@lists.php.net > Oggetto: [PHP-WIN] help with upload IIS php 4.1.2 > > > Hi all. > I have a big problem with uploading files. > > I have WINDOWS 2000, IIS, PHP4.1.2. > > send.htm -> > > <FORM ENCTYPE="multipart/form-data" ACTION="send.php" > METHOD=POST> > > <INPUT TYPE="hidden" name="MAX_FILE_SIZE" > value="4000000"> > Send this file: <INPUT NAME="userfile" > TYPE="file"> > <INPUT TYPE="submit" VALUE="Send File"> > > </FORM> > > send.php -> > > <? > IF (is_uploaded_file($userfile)) > { > ECHO "Name : ".$userfile ."<BR>\n"; > ECHO "Orign : ".$userfile_name ."<BR>\n"; > ECHO "Type : ".$userfile_type ."<BR>\n"; > ECHO "Size: ".$userfile_size."<BR>\n"; > } > ?> > > when i upload file nothing result is there. > > Sorry for my english I am from Slovakia :o) > > > > > > --- > Odchádzajúca správa neobsahuje vírusy. > Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz). > Verzia: 6.0.342 / Vírusová databáza: 189 - dátum vydania: 14.3.2002 > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.windows (#13163) next »