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: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php