Aha.... Yes, it works fine now. Again, thanks a lot. Rdb
On Thursday 14 February 2002 12:18 am, you wrote: > On Wed, 2002-02-13 at 19:18, Reuben D Budiardja wrote: > > Yes, I have. I follow the example exactly from > > http://www.php.net/manual/en/features.file-upload.php. > > Well, that's the problem then. The example in the manual is buggy. :) > > > uploadPic2.php: > > <? > > print_r($HTTP_POST_FILES); > > move_uploaded_file($HTTP_POST_FILES['userfile'], "/home/web/final"); > > The above line should read: > > move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], > "/home/web/final/some_file_name.jpg"); > > > Hope this clears it up for you. > > Torben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php