On Fri, 8 Nov 2002 03:00:33 -0800 (PST), [EMAIL PROTECTED]
(Admin-Stress) wrote:
>Here I got a code to upload file to a cgi running in a webserver :
>
>#!/usr/bin/perl
>use warnings;
>use strict;
>use HTTP::Request::Common qw(POST);
>use LWP::UserAgent;
>
>my $url ='http://www.mydomain.com/cgi-bin
Hi,
Here I got a code to upload file to a cgi running in a webserver :
#!/usr/bin/perl
use warnings;
use strict;
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
my $url ='http://www.mydomain.com/cgi-bin/upload.cgi';
my $file = 'testfile.dat';
my $ua = new LWP::UserAgent;
my $req = POST