Re: For my next bug... Upload filename gets blanked out

From: Date: Tue, 08 Oct 2002 18:51:31 +0000
Subject: Re: For my next bug... Upload filename gets blanked out
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119317@lists.php.net to get a copy of this message
If there is any doubt print the array to find the indexes you need to recall the filename.. echo "<pre>"; print_r($_FILES); echo "</pre>"; You'll figure it out quickly enough. ::) -Kevin ----- Original Message ----- From: <Liam.Gibbs@dfait-maeci.gc.ca> To: <php-general@lists.php.net> Sent: Tuesday, October 08, 2002 12:28 PM Subject: RE: [PHP] For my next bug... Upload filename gets blanked out > <<Is register_globals off? If it is, you should be using the $_FILES > array.>> > > I don't think that's it. Tell me if I'm using it improperly, but I tried to > print out the filename: > > print("[".$_FILES['uploadfile']['name']."]"); > > Is that it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#119317) next »