-
Possible to increase AJAX POST size limit?
When I run ajax scripts to asynchronously "POST" data to the mysql database, it stops accepting text from the textarea that is longer than 512 characters. That sounds like a server parameter.
Is there a way to increase it?
If so where/how?
I don't need megabytes of memory for this, The problem is that I need to be able to submit a decently sized article, like a blog. Obviously 512 is not enough for a blog.
Hope someone can help me, I've been pulling my hair out for 3 hours now thinking there is an error in my code.
Ps: Merry Christmas
-
-
Hello,
Could you please submit a ticket to our technical department at our helpdesk and describe the issue in more details? We need your domain name, path to the script or URL.
-
-
I'm afraid I currently don't have access to https://www.whbsupport.com/
My friend gave me administrative rights to manage one of the domain names. He hosts everything from his reseller's account "binary242.com"
I can only log in to cPanelX. (https://binary242.com:2083/frontend/x3/index.html)
As far as I know, It is a reseller account, and the domain name in question is ariston-solutions.com
I tried creating a ticket/request for help from cPanel X, without luck (it says support is not installed)
Is there any way you could help me out and create a ticket/help request for me? All I need is someone to increase the server settings to allow more than 512 characters on ajax POST. It is probably an Apache variable, or some other server setting.
I hate to say this, but this is pretty urgent as I am working on a client's website who needs blog-like functionality and 512 characters just doesn't cut it.
Details:
I use the generic Ajax HTTP request:
------------
http.open("POST", href, true);
http.setRequestHeader("Content-Type", "text/plain;charset=UTF-8");
http.send(false); // no URI params needed on POST
------------
var href = URL of a simple post.php script (has nothing to do with the problem)
There is a text area and a submit button that triggers this ajax call. Everything works fine unless the text area contains more than 512 characters. If that's the case the ajax call fails to return a successful return code. Otherwise, if the text is less than 512 chars, the script works successfully.
This same exact code works on my localhost machine. Same error, BUT... I can paste WAY more text into the text area (almost acceptable values). Which leads me to believe that this is a server setting of some sort that can be increased. (Which is what I'd like to do)
If this can be increased to 1 megabyte that'd be helpful.
Last edited by gregsometimes; 12-27-2009 at 04:51 AM.
-
-
I've sent you private message, please check it.
As for helpdesk, we don't use cPanel built-in ticket system, I'd recommend you to register at our actual helpdesk, which is https://www.whbsupport.com
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules