[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: <FILE> upload using Perl



On Wed, May 10, 2000 at 10:54:28AM -0700, Sudhakar Chandra wrote:
> Rohit Singh proclaimed:
> > Can someone please offer me a small perl code snippet that gets the file
> > uploaded from a browser using the <INPUT TYPE=FILE> tag and puts it in a
> > file.
> 
> 
> CGI.pm is your friend.  See 
> http://stein.cshl.org/WWW/software/CGI/cgi_docs.html#upload_caveats

For the python bigots, there is a similar thing in python too:

http://www.python.org/doc/current/lib/Using_the_cgi_module.html

search for "upload". But I couldn't get file upload to work on
netscape-4.72 yesterday. Does the browser support it ?

	-Arun