On Sun, Nov 23, 2008 at 6:20 PM, Chamnap <[EMAIL PROTECTED]> wrote: > > I make it work now, but I have another problem. On the server side, I > have no idea how to save files that have been browsed by the user. > Which parameter should I use on either PHP or Rails? Usually, if we > upload using input file element, we know which parameter to take file > to save, but using getAsBlob() and this result to gear to upload, is a > little bit weird. Should I have to set any request headers of my xhr?\ > > Any idea is appreciated?
If you are using GearsHttpRequest.send(blob), the file is the entire POST body. It is not form-encoded. > Thanks >
