HTTP file upload v perlu

Jan Kasprzak kas na informatics.muni.cz
Pátek Červen 6 14:38:56 MEST 2003


Honza Pazdziora wrote:
: Dokumentace HTTP::Request::Common mj. rika:
: 
:            The POST method also supports the "multipart/form-data" content
:            used for Form-based File Upload as specified in RFC 1867.  You
:            trigger this content format by specifying a content type of
:            'form-data' as one of the request headers.  If one of the values in
:            the $form_ref is an array reference, then it is treated as a file
:            part specification with the following interpretation:
: 
:              [ $file, $filename, Header => Value... ]
: 
:            The first value in the array ($file) is the name of a file to open.
:            This file will be read and its content placed in the request.  The
:            [...]
: 
: Je tam i pekny priklad na to, jak konkretni soubor poslat.

	Jo, to je ono. Diky. Ja mam pocit, ze jsem primo tuhle
stranku prochazel a pritom jsem to nevidel.

-Y.

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
--     I'm an "Oppenheimer", and I refuse to play politics with Linux.    --
--                                            --Linus Torvalds on LKML    --


Další informace o konferenci Perl