{"action":"created","issue":{"url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/19","labels_url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/19/comments","events_url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/19/events","html_url":"https://github.com/CreativeDream/jquery.filer/issues/19","id":99189744,"number":19,"title":"remove file probelem not solve","user":{"login":"shaheer-javaid","id":13119875,"avatar_url":"https://avatars.githubusercontent.com/u/13119875?v=3","gravatar_id":"","url":"https://api.github.com/users/shaheer-javaid","html_url":"https://github.com/shaheer-javaid","followers_url":"https://api.github.com/users/shaheer-javaid/followers","following_url":"https://api.github.com/users/shaheer-javaid/following{/other_user}","gists_url":"https://api.github.com/users/shaheer-javaid/gists{/gist_id}","starred_url":"https://api.github.com/users/shaheer-javaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaheer-javaid/subscriptions","organizations_url":"https://api.github.com/users/shaheer-javaid/orgs","repos_url":"https://api.github.com/users/shaheer-javaid/repos","events_url":"https://api.github.com/users/shaheer-javaid/events{/privacy}","received_events_url":"https://api.github.com/users/shaheer-javaid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-05T12:07:34Z","updated_at":"2015-08-05T17:44:39Z","closed_at":"2015-08-05T12:45:27Z","body":"when files is uploaded via drag n drop option uploaded files will be shown where when i del some files then file only remove from front end not to the backend (uploads folder)\r\nNote: if solution is some lines of code then plz give me proper reference where lines will be add in code "},"comment":{"url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/comments/128087651","html_url":"https://github.com/CreativeDream/jquery.filer/issues/19#issuecomment-128087651","issue_url":"https://api.github.com/repos/CreativeDream/jquery.filer/issues/19","id":128087651,"user":{"login":"shaheer-javaid","id":13119875,"avatar_url":"https://avatars.githubusercontent.com/u/13119875?v=3","gravatar_id":"","url":"https://api.github.com/users/shaheer-javaid","html_url":"https://github.com/shaheer-javaid","followers_url":"https://api.github.com/users/shaheer-javaid/followers","following_url":"https://api.github.com/users/shaheer-javaid/following{/other_user}","gists_url":"https://api.github.com/users/shaheer-javaid/gists{/gist_id}","starred_url":"https://api.github.com/users/shaheer-javaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaheer-javaid/subscriptions","organizations_url":"https://api.github.com/users/shaheer-javaid/orgs","repos_url":"https://api.github.com/users/shaheer-javaid/repos","events_url":"https://api.github.com/users/shaheer-javaid/events{/privacy}","received_events_url":"https://api.github.com/users/shaheer-javaid/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T17:44:39Z","updated_at":"2015-08-05T17:44:39Z","body":"<?php\r\n    include('class.uploader.php');\r\n    \r\n    $uploader = new Uploader();\r\n    $data = $uploader->upload($_FILES['files'], array(\r\n        'limit' => 10, //Maximum Limit of files. {null, Number}\r\n        'maxSize' => 1024, //Maximum Size of files {null, Number(in MB's)}\r\n        'extensions' => null, //Whitelist for file extension. {null, Array(ex: array('jpg', 'png'))}\r\n        'required' => false, //Minimum one file is required for upload {Boolean}\r\n        'uploadDir' => '../uploads/', //Upload directory {String}\r\n        'title' => array('auto', 10), //New file name {null, String, Array} *please read documentation in README.md\r\n        'removeFiles' => true, //Enable file exclusion {Boolean(extra for jQuery.filer), String($_POST field name containing json data with file names)}\r\n        'perms' => null, //Uploaded file permisions {null, Number}\r\n        'onCheck' => null, //A callback function name to be called by checking a file for errors (must return an array) | ($file) | Callback\r\n        'onError' => null, //A callback function name to be called if an error occured (must return an array) | ($errors, $file) | Callback\r\n        'onSuccess' => null, //A callback function name to be called if all files were successfully uploaded | ($files, $metas) | Callback\r\n        'onUpload' => null, //A callback function name to be called if all files were successfully uploaded (must return an array) | ($file) | Callback\r\n        'onComplete' => null, //A callback function name to be called when upload is complete | ($file) | Callback\r\n        'onRemove' => null //A callback function name to be called by removing files (must return an array) | ($removed_files) | Callback\r\n    ));\r\n    \r\n    if($data['isComplete']){\r\n        $files = $data['data'];\r\n        print_r($files);\r\n    }\r\n\r\n    if($data['hasErrors']){\r\n        $errors = $data['errors'];\r\n        print_r($errors);\r\n    }\r\n\t\r\n\t\r\n\t\r\n?>\r\n"}}