I\'m using jQuery
file upload plugin.
I don\'t use the UI
part, only basic one.
When I do the following, I\'m having an issue in
I believe issue can be in server response, you can make sure that server always send correct heading by using following code:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: text/x-json");
echo json_encode($array);
exit(0);