I am using the javascript Method, CuteWebUI_AjaxUploader_OnTaskComplete(task) to save the file in my DB with AJAX. Must I to use other method to do this? My phpuploader code in my php is:
<form enctype="multipart/form-data" action="#">
<input type="hidden" id='lang' name='lang' value='' />
...
<p> {#linkdesc_dlg.descripcio} <textarea id="Descripcio" name="Descripcio"> </textarea></p>
<p> {#linkdesc_dlg.arxiu}
<?php
// Create Uploader object.
$uploader=new PhpUploader();
// Set a unique name to Uploader
$uploader->Name="myuploader";
$uploader->AllowedFileExtensions="jpeg,jpg,gif,png,zip,rar,pdf,tar";
$uploader->InsertText="Upload File";
$uploader->MultipleFilesUpload=false;
// specify the temporary file location using TempDirectory property
$uploader->SaveDirectory="/var/www/vhosts/weberos.es/copiaWeberos/tmp/upload";
$uploader->TempDirectory="/var/www/vhosts/weberos.es/copiaWeberos/tmp/upload";
// Render Uploader
$uploader->Render();
?>
{#linkdesc_dlg.alerta2}</p>
....
</form>
Thanks!!