HazzardWeb

HazzardWeb supports this item

Supported

This author's response time can be up to 1 business day.

69 comments found.

guia365

guia365 Purchased

hi,

Is your script not by cookie or session? Anyone you access can see?

thanks

guia365

guia365 Purchased

How do I show uploaded files only for user’s session?

Hi,

I need to reload a datatable I have in the page…how can do it with your javascript? need put this code $('#casosDocList').DataTable().ajax.reload(null, false); inside of success function… can you help me?

Best Regards!

now is working properly…I just copied the filepicker.js you have and works…maybe in the downloaded file something was bad… all is ok now just the file always return and show it all of them in each user. I just use this

$handler->on('files.fetch', function (&$files) { }); like that empty..but always return me all the files even if the id user doesn’t upload anything yet
Use:
$handler->on('files.fetch', function (&$files) {
 $files = [];
});

Thank you Hazzard! now all is ok!

how I’ll use ASPX . how I want to use files c#

Hi, this only works with PHP.

Hi i have a form (<input type=”file” id=”publisher-photos” name=”postPhotos[]” multiple=”multiple” >) with that send the info by ajaxform plugin to this script:

if (isset($_FILES‘postPhotos’) && empty($mediaFilename) && empty($_POST[‘album_name’])) { if (count($_FILES‘postPhotos’) == 1) { $fileInfo = array( ‘file’ => $_FILES“postPhotos”[0], ‘name’ => $_FILES‘postPhotos’[0], ‘size’ => $_FILES“postPhotos”[0], ‘type’ => $_FILES“postPhotos”[0] ); $media = Wo_ShareFile($fileInfo); if (!empty($media)) { $mediaFilename = $media[‘filename’]; $mediaName = $media[‘name’]; } } else { $multi = 1; } }

with the filepicker is possible replacement the $_FILES“postPhotos”[0] for the data that get the filepicker?

Hi, Filepicker will handle the upload independently from your form and send it to the server. See this http://docs.hazzardweb.com/filepicker/2.0/quick

I need that pass with this script cause is part of a social plattform and the script handlle with anothers functions

hello, I can only insert a record in the database, the second is not public, please help me? $idlogininsadm no work, $idcorso it’s ok work, why?? I did so:

$handler->on(‘upload.success’, function ($file) use ($handler) {

$idcorso = $handler->request()->get(‘id’); $idlogininsadm = $handler->request()->get(‘idadm’);

// insert $filename into your database. // parametri di connessione $host = “Localhost”; $user = “user”; $passwordserver = “pass-n”; $db = “namedb”;

$conn=mysql_connect($host, $user, $passwordserver); mysql_select_db($db);

$sql2 = “INSERT INTO d_corsi_file (titolo_file, id_corsi, file, id_login_ins_adm, data_ins_adm, ora_ins_adm) VALUES (’$titolo_file’, ’$idcorso’, ’$filename’, ’$idlogininsadm’, curdate(), curtime())”; mysql_query($sql2, $conn) or die (mysql_error());

});

Hi, how do you send the idadm parameter ?

sorry I did not understand

I see you try to access the idadm parameter, how did you send it ? Using the data option ?

Hi there. Apologies if I missed this answer elsewhere—is it possible to restrict the crop by ratio? i.e. crop at a 3×2 ratio only?

Fantastic, thank you!

Hi, Nice job putting all these scripts all toghether.

techking

techking Purchased

Hi ,

Is it possible to add any kind of lossless compression from client side to images while uploading ? I would like to buy such uploader .Is this possible from this uploader ?

techking

techking Purchased

Can u please let me know what libraries it requires and can i integrate it ?

What I meant is that it can’t be don’t with the script as it is, so it would require something extra but I don’t know which one.

techking

techking Purchased

https://github.com/brunobar79/J-I-C can i integrate this script with your script ?
techking

techking Purchased

hi , Quite urgent .It seems like i cannot able to upload file greater than 10MB ,it stuck in “processing” status and in console ,it showing error message “filename is undefined”..

Please check

Make sure you increase the post_max_size, upload_max_filesize and memory_limit directives in your php.ini file (http://php.net/manual/en/ini.list.php).

by
by
by
by
by
by