Re: [PHP] Browse and Upload file

2002-02-14 Thread Reuben D Budiardja
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 p

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
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. :) This was fixed in cvs earlier today, actually, but the online m

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
On Wednesday 13 February 2002 09:57 pm, you wrote: > On Wed, 2002-02-13 at 18:53, Reuben D Budiardja wrote: > > print_r $HTTP_POST_FILE gives me: > > > > Array ( [userfile] => Array ( [name] => timecard.png [type] => image/png > > [tmp_name] => /home/web/phpZKBTak [size] => 38656 ) ) > > > > But I

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 18:53, Reuben D Budiardja wrote: > Sorry, I meant to include those information. > > Here is from php.ini > > ; File Uploads ; > > file_uploads = On; Whether to allow HTTP file uploads > upload_tmp_dir = /home/web > upload_max_files

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
Sorry, I meant to include those information. Here is from php.ini ; File Uploads ; file_uploads = On; Whether to allow HTTP file uploads upload_tmp_dir = /home/web upload_max_filesize = 2M; Maximum allowed size for uploaded files PHP Version 4.

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 18:26, Reuben D Budiardja wrote: > Thanks. I follow the manual. I changed my php.ini: > upload_tmp_dir = '/home/web/' > which is writable by web (the user running apache/php) and restart apache. > > However, after I upload the file, I can't find it. When I do > print_r($H

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
Thanks. I follow the manual. I changed my php.ini: upload_tmp_dir = '/home/web/' which is writable by web (the user running apache/php) and restart apache. However, after I upload the file, I can't find it. When I do print_r($HTTP_POST_FILE), here is what I got: Array ( [userfile] => Array (

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 17:38, Reuben D Budiardja wrote: > > Hi, > Does anyone know how to upload file using Web Browser as the interface? > > I want to do a web page, where you can click on a button, and then you can > browse the local directories of the person who are browsing the page, and >