More stupid Multipart form questions :)
david bovill
david at openpartnership.net
Sun Sep 18 16:56:51 EDT 2005
> This line should be
>
> if libUrlMultipartFormAddPart(tForm,"file", tFile, tType, tEnc)
> IS NOT empty then
How terribly embarrassing :) Thanks...
More help appreciated with simple form stuff:
<form enctype='multipart/form-data' action='mailtool.php' method='post'>
<p><input type='file' name='infile' size='40' accept='text/plain'
maxlength='500000' accesskey='f'></p>
<p><input type='checkbox' name='notes' value='yes' checked>
Add non comparable fields to field <i>notes</i></p>
<p><input type='submit' value=' convert '>
<input type='reset' value=' cancel '></p>
</form>
I guess "tEnc" would be the mime-type "text/plain" and that there is
nothing in the library for the:
maxlength='500000' accesskey='f'
or the:
name='infile' size='40'
bit?
And in general does it matter the order these parts are sent?
It would be real very very nice to have a single comprehensive
example of a complex multipart form and the equivalent sent by rev?
More information about the use-livecode
mailing list