So, I pass some values through AJAX to my PHP handler to generate a KML, but sometimes there's too much data and I get "Request-URI Too Large". Is there another way I can pass the data with AJAX and JQuery to my PHP script?
Edit: Disregard post, I was being stupid. Issue is resolved. Sorry about that guys开发者_运维知识库.
For your AJAX calls, make sure you're setting it to jquery.post() instead of jquery.get(). Check your (apache?) access log to see what URI is really being hit. For POST, it should be a simple path to your script, and shouldn't contain all of your query terms like it would for a GET.
Use POST, not GET in your request.
use post!
http://support.microsoft.com/kb/q208427/
精彩评论