Multipart forms?

Dave Cragg dcragg at lacscentre.co.uk
Sun Sep 18 12:54:28 EDT 2005


On 18 Sep 2005, at 13:04, david bovill wrote:

> Is the libUrlMultipartFormAddPart handler broken in Rev 2.6.5? I  
> copied the script in the documentation and I get an error - can't  
> track it down....

I think the documentation is the problem. An important part of the  
syntax is mistaken for xml markup, and it comes out as empty in the  
docs.

Where you have the following:

     put "" & someFile into tFile

it should be

     put "<file>" & someFile into tFile

 From a recent mail:

> Then take a look at the libUrlMultipartFormData function. (I just  
> noticed that the standard Rev dictionary leaves out an important  
> piece of data in this entry. I think the docs incorrectly interpret  
> some of the text as an xml tag.) I suggest you look at the web  
> version of the libUrl documentation:
>
>    http://support.runrev.com/resources/ 
> liburlrealdocs.html#libUrlMultipartFormData

I
Cheers
Dave



More information about the use-livecode mailing list