when i send my array to my php file it incomplete recive to php file. my arr varible is :
[["╪▒┘à┘╛┘╪د","67126881188552864","Empty,Empty,Empty,Empty,8644,-360,-4,8691,-3
.48,-313,1015,4.334 M,1392/12/28,12:30:08,3.99 M,10 B,10%,530,16.4,16.38,┘à╪ش╪د╪
▓,7,3130,8644,1,50,5000, , , ,8644,11553,359,307,8645,1,1,8655,11
030,2,┌»╪▒┘ê┘ç ┘à┘╛┘╪د (╪│┘ç╪د┘à┘è ╪╣╪د┘à) (╪▒┘à┘╛┘╪د),╪ذ╪د╪▓╪د╪▒ ╪د┘ê┘ (╪ز╪د
╪ذ┘┘ê┘è ╪د╪╡┘┘è) ╪ذ┘ê╪▒╪│ ,connOK"]]
i send data with HTTP GET request like below
var myJsonString = JSON.stringify(arr);
page.open('http://localhost/bptest/danger/get.php?data='+myJsonString,function(status){
console.log("Page opened");
if (status !== 'success') {
console.log('FAIL');
} else {
console.log("REPLY FROM SERVER:");
console.log(page.content);
}});
end my simple php file is below code :
<li><?php echo $_GET["data"]; ?></li>
and php get's this :
[["?????","67126881188552864","Empty,Empty,Empty,Em
pty,8644,-360,-4,8691,-3.48,-313,1015,4.334 M,1392/12/28,12:30:08,3.99 M,10 B,10
%,530,16.4,16.38,????,7,3130,8644,1,50,5000,
why it's crash when recive from php and how i can fix this