CGI, stdin, image handling

Richard Miller wow at together.net
Thu Jan 24 06:20:02 EST 2008


Andre, Mark:

Thanks to both of you for clues which led me to solve the problem.

There were some line feed characters included in the posted data that  
needed to be removed. The routine seems to be working fine now.

Richard



On Jan 23, 2008, at 8:15 PM, Andre Garzia wrote:

> Richard,
>
> In libCGI there's a mime decoder that can decode file uploads. It
> works well. What I'd advise to you is to try uploading multiple files
> and doing a binary diff between them and the originals, try to
> pinpoint where the garbage is being added. I'd guess it's counting the
> offsets between the mime boundaries wrong. I got those wrong all the
> time.
>
> Andre
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list