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?


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to