Help for this page

Select Code to Download


  1. or download this
    <form enctype="multipart/form-data" action="http://example.com" method
    +="post">
        <input type="file" size="50" name="file_0"/><br /><br />
        <input type="submit" value="Attach File(s)" name="confirm"/>
    </form>
    
  2. or download this
    use strict;
    use warnings;
    ...
    $request->authorization_basic('username', 'password');
    my $response = $userAgent->request($request);
    print $response->error_as_HTML . "\n" if $response->is_error;