--- [EMAIL PROTECTED] wrote:
> I want to be able to upload images and text files to my server with my cgi
> prog, can someboy show me how to do this?
You'll want to read 'perldoc CGI'. See the section on "Creating a File Upload
Field". If you've
already have the HTML form done:
use CGI qw(:standard);
my $fh = param('upload_form_name');
print while <$fh>;
The documentation will give you far more detail on how to handle this.
Cheers,
Ovid
=====
"Ovid" on http://www.perlmonks.org/
Web Programming with Perl: http://users.easystreet.com/ovid/cgi_course/
Silence Is Evil: http://users.easystreet.com/ovid/philosophy/decency.txt
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]