Hytham Shehab wrote:
>
> hi gurus,
> first of all, am really gracefull about all who sends me tips of how to
> make this thing work, but, unfortunately, it doesn't yet.
did you make sure your tag had the enctype in it? ie.-
because if it's missing that, the perl side won't work no matt
Craig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 10:26 AM
Subject: Re: how to upload a file through an html form, again.
> At 00:59 10.07.2001 -0400, Jason Purdy wrote:
> >Check out the CGI documentation - it's very thorough and has a l
At 00:59 10.07.2001 -0400, Jason Purdy wrote:
>Check out the CGI documentation - it's very thorough and has a lot of
>excellent examples.
I can't recommend CGI.pm highly enough for file upload. I tried to grow my
own as a learning experience, and gave up in frustration -- too many
differences
Hytham wrote:
> hi gurus,
> first of all, am really gracefull about all who
> sends me tips of how to
> make this thing work, but, unfortunately, it doesn't
> yet.
I'm not sure if this will help, but here is a snippet from a program I've
been working on that uploads html files from a client
Check out the CGI documentation - it's very thorough and has a lot of
excellent examples. Looking at the synopsis example, it looks like you're
missing an if ($q->param()) { ... } around the file uploading part of your
code. Give that a shot...
Jason
> here it is:
> #!/usr/bin/perl
> use CGI;
hi gurus,
first of all, am really gracefull about all who sends me tips of how to
make this thing work, but, unfortunately, it doesn't yet.
here it is:
#!/usr/bin/perl
use CGI;
$q = new CGI;
print $q->header,
$q->start_html('title here'),
$q->h1('Please fill this form'),
$q->start_multip