php - Godaddy Hosting HTTP GET Request Lengh Issue -
i facing difficulty receiving full length of request in php file. have written sample this.
wrote test.php file below content,
<?php $data = $_get['data'] ; echo($data); ?>
now have checked browser following url,
http://myserver.com/test.php?data=dddddddddddddddddddd
i have tested increasing number of d letters increased see how data can passed maximum.
what found 478 characters received , shown in echo statement. when put more letter 'd' s in parameter won't show.
what gathered maximum of 512 characters can received. if total length more that won't pass parameter. (will result empty data). changed browser effect same.
but same thing work localhost (wamp server) firefox, chrome etc , can send / receive largeer request data. understand not browser issue server has limit. (my requests 1000 characters long in average , did not work in godaddy server).
i using godaddy shared hosting server. guess can solved if can increase request length allowed @ godaddy server. don't know if possible also.
please me find solution.
// in sending page: session_start(); $_session["data1"] = $data1; $_session["data2"] = $data2; // in recieving page: session_start(); $data1 = $_session["data1"]; $data2 = $_session["data2"];
as far know session variables has no limits in size.
drawback users can't bookmark or share results else
Comments
Post a Comment