Hi Matteo
The second parameter to com.zenesis.qx.upload.UploadMgr is the URL to a
server page that handles the upload, and would be the same as what you
would normally put in the "action" attribute of a form.
For example, this HTML code:
<form action="/my-upload-handler.php" method="post"
enctype="multipart/form-data">
[ ... snip ... ]
Becomes:
var uploader = new com.zenesis.qx.upload.UploadMgr(btn,
"/my-upload-handler.php");
You should then be able to process the file uploaded on the server in
my-upload-handler.php by using the _FILES array (i.e. to PHP it's the same
as standard HTML uploads)
John
On 23/07/2013 14:06, "matteomasina" <[email protected]> wrote:
>Hi I'm trying to use UploadMgr, but I cannot understand how to write my
>server listening for the file.
>
>in these row : var uploader = new com.zenesis.qx.upload.UploadMgr(btn,
>"localhost");
>
>i put localhost so the file should be write in my www root.
>
>but I cannot see any file.
>
>Probably I don't understand how to use.
>
>Someone can help me ?
>
>Regards Matteo Masina
>
>
>
>--
>View this message in context:
>http://qooxdoo.678.n2.nabble.com/UploadMgr-backend-tp7584184.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>See everything from the browser to the database with AppDynamics
>Get end-to-end visibility with application monitoring from AppDynamics
>Isolate bottlenecks and diagnose root cause in seconds.
>Start your free trial of AppDynamics Pro today!
>http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktr
>k
>_______________________________________________
>qooxdoo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel