RE: [PHP] File upload !!!!

From: Date: Mon, 14 May 2001 13:23:41 +0000
Subject: RE: [PHP] File upload !!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52693@lists.php.net to get a copy of this message
Hello, Is there some reason I keep getting copies of messages from the list sent directly to me as well as the list? I've seen one or two come by and thought it was just someone replying wrong. Recently though, I'm received questions, comments, answers, etc., all regarding subjects I haven't been involved in. :) I read the list all the time, so I don't think I need two copies sent to me. <G> Jaime Bozza GeoComm International Corp. -----Original Message----- From: Kevin Williams [mailto:K.A.Williams-97@student.lboro.ac.uk] Sent: Sunday, May 13, 2001 1:46 PM To: jbozza@geocomm.com Cc: PHP User Group; Matthias Roggendorf Subject: Re: [PHP] File upload !!!! Hi, A snippet of code could help, but I recently experienced two problems with uploading and gaining the information. Are you using the correct ENCTYPE for the upload, along with using POST (GET doesn't work). Also, if you are trying to us the information from inside a function, I had to either globally define all of the attributes, or you could pass them to the function. Hope this helps Kevin Williams "Matthias Roggendorf" <m.roggendorf@rovotech.com> wrote in message news:9dmisb$bhq$1@toye.p.sourceforge.net... > Hi, > sorry for asking such easy things but I really have a hard time to get this > to work: > > I use exactly the scripts which are given on the PHP website to upload > files. The problem is that the variable $userfile just contains "none" and > $userfile_size is "0". The rest of the variables have the right values. > When I use a larger file it takes more time so I assume that the file is > uploaded, but I cannot save it because I don't know the temporary filename. > > Can anybody help me? I really need this to work. > > Thanks, Matthias > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#52693) next »