Я пытаюсь отправить данные образа Base64 через ajax на сервер.Иногда все фотографии делают это, иногда только немногие делают это.
Любые идеи для проверки ошибок, что все данные получены сервером?
http.open("post", URL, true);
http.onreadystatechange = function()
{
if(http.readyState == 4)
{
if(http.status == 200) {
alert(http.responseText);
alert("eReport Successfully sent to Server " + CustID +" "+name +" "+ListType);
//clearCurrentReport();
removeReport(CustID, ListType);
}
// alert("Received:" + http.responseText);
else
alert("Report NOT SENT. Error Communicating with Server. Please try again when you have a connection." );
}
};
params = custid="+CustID+"&photo1="+pic1+"&photo2="+pic2+"&photo3="+pic3+"&photo4="+pic4+"&photo5="+pic5+"&photo6="+pic6;
http.send(params);