[PHP] select+uploading multiple files

2001-11-02 Thread fitiux

Hi everybody!

I'm new in the list.
I'll help anybody if I can  =)

by now I have a little trouble  ;-)

I have to create a php page where users can upload many files
the idea is that users could select many files by holding down
the shift key... with this I can avoid to put many input tags in my page.
When I use an input type=file  and pass to the next page
a temporary file name (/var/temp/phpGH65YT) is created.. 
but if I try to use another way to send the file name.. this temp file name is not 
created.
and I just get an error: I cannot open the file name test.txt in 
/var/html/pages/test.php for reading

an alternative is in fact of I know the file names that users must upload.
I could ask them for the path and then I'd show a list of files to upload
and users only will have to click on one button.



is it possible to make more easy the file uploading for users?
I mean... is it possible to upload many files without to choose one by one within a 
html page
with many input tags?
 
ooh yes.. I cannot use zipped files not even a ftp connection


best regards
from Chile.



PS:  I apology for my english... I hope that you can understand me   =)




Re: [PHP] select+uploading multiple files

2001-11-02 Thread Shane Wright

Hi fitiux

I'm sure the list will correct me if I'm wrong, but what you're talking about 
isnt possible, at least not in this way.

This isn't a limitation of PHP - its a limitation of the HTML form element 
that handles the uploads.

You could consider a client-side applet to achieve the result another way.  A 
Java applet would do the job - although you will need to sign it and users 
will need to grant it permission to read their hard drives (I think this is 
how it works, it's been a while...)

Good luck

Shane



On Friday 02 November 2001 3:01 pm, fitiux wrote:
 Hi everybody!

 I'm new in the list.
 I'll help anybody if I can  =)

 by now I have a little trouble  ;-)

 I have to create a php page where users can upload many files
 the idea is that users could select many files by holding down
 the shift key... with this I can avoid to put many input tags in my page.
 When I use an input type=file  and pass to the next page
 a temporary file name (/var/temp/phpGH65YT) is created..
 but if I try to use another way to send the file name.. this temp file name
 is not created. and I just get an error: I cannot open the file name
 test.txt in /var/html/pages/test.php for reading

 an alternative is in fact of I know the file names that users must upload.
 I could ask them for the path and then I'd show a list of files to upload
 and users only will have to click on one button.



 is it possible to make more easy the file uploading for users?
 I mean... is it possible to upload many files without to choose one by one
 within a html page with many input tags?

 ooh yes.. I cannot use zipped files not even a ftp connection


 best regards
 from Chile.



 PS:  I apology for my english... I hope that you can understand me   =)

-- 
Shane

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] select+uploading multiple files

2001-11-02 Thread fitiux

Hi Shane..  :-)

thankyou for your help..

I was wondering myself about that.. and I surfed the net for many days just searching 
for a solution...
but now I know what it is the limitation.. thanks again.  =)
I think as you say.. consider a client-side applet.

best regards from Chile


--Patricio
(aka Fitiux)




PS: sorry if my english isn't good..  :-)