DHTMLX Docs & Samples Explorer

setURL(url)

Sets the path to the server-side script which will parse the requests received from the uploader.
Redefines the URL parameter.

Parameters:

  • url - the path to the server-side script relative to the index file (see details)
var myUploader = myForm.getUploader(name);
myUploader.url("php/dhtmlxform_item_upload.php?id=123");