post an image

Andre Garzia soapdog at mac.com
Thu Jan 27 12:30:46 EST 2005


On Jan 27, 2005, at 2:12 PM, paolo wrote:

> Do you know how can I post an image to a revCGI  stack and have this 
> image to be saved on the cgi-bin folder?
>
> Ciao Paolo Mazza

Paolo,

for this you must implement some multipart form data handler, it's not 
trivial but it's not impossible either. I think the data will be sent 
to you base64 encoded in the POST request that your RevCGI receives. if 
you're serving thru apache I don't know if he tides up the request for 
you... try making a mock post from a webform and dump all the POST data 
to a file so that you can inspect it later, check to see what you're 
receiving.

Cheers
andre



>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-- 
Andre Alves Garzia ð 2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org



More information about the Use-livecode mailing list