[H-GEN] file upload cgi
Joel Michael
joel at diggy.com.au
Wed Mar 15 17:08:10 EST 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
----- Original Message -----
From: Luke Grant <luke.g at uq.net.au>
To: <general at humbug.org.au>
Sent: Thursday, March 16, 2000 9:35 AM
Subject: [H-GEN] file upload cgi
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Please observe the list's charter. ]
>
> Hi guys,
>
> I need to write a perl script that will accept a "file" type from a
cgi and
> save it on the local server....the files have to be binary......can
enyone
> point me in the right direction as to where i might be able to find a
howto
> for this??
>
the POD (Plain Old Documentation) for CGI.pm contains everything you
need to know. try a "pod2whatever" program to rip appropriate
documentation out of the module, eg: "pod2html
/wherever/perl/modules/live/CGI.pm > CGI.pm.html". it has nice examples
of code in there for ya to copy if you need to. If you are quite
familiar with perl and reading POD, this should be a no-brainer :)
Alternatively, you can have a bit of a look at one of the O'Reilly Perl
books - they should have all the information you need, in amounts
ranging from concise ("Perl in a Nutshell") to lengthy ("Learning
Perl"). These books are generally fairly expensive, the going rate is
$70+. If you can find it, and have the funds, the perl cd bookshelf is
an EXCELLENT refrence, but at around $300, can hurt the wallet a bit ;)
HTH
---
Joel Michael
System Administrator
Diggy Internet Services
90 Petrie Terrace
Brisbane Qld 4000
Australia
Ph: +61 7 3367 3555
Fax: +61 7 3367 3544
Mob: 0401 039 462
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list