Post Large Data With Ajax | Web Programming Tutorial

Post Large Data With Ajax

Published Date: August 26, 2014 |
Published Time: 9:31 pm |

This is a very silly problem , but sometimes we may face the issue of post large data, when we will not get the expected result, it may happen that, all data will be truncated and the variable might be empty.  Think this code

But If the string size or the posted parameter is too large, then request may sent to server, but server will not get the proper value.
To fix this problem  you need to increase the allowed request size.

Go to your php.ini File,  Change the line:

post_max_size = 128M 

Or if you don’t have permission to access php.ini file , then write the line of code in .htaccess file.

That’s all. It may fix your problem.

In cpanel there is default a php.ini file.

If it is not available at root folder, then change the version of the php from php configuration, then a php.ini file will be automatically created.

Or you can write this at .htaccess file.


  1. Hurrah! At last I got a website from where I know
    how to truly get helpful information regarding my study and knowledge.

  2. I like it when individuals get together and share ideas. Great site, continue the good work!

  3. Play the track: Before even teaching any of
    the numbers, you can start with this music.

  4. w88 says:

    Right here is the perfect webpage for anyone who really wants to find out about this topic.
    You realize so much its almost hard to argue with
    you (not that I really would want to…HaHa). You certainly put a fresh spin on a topic
    that’s been discussed for many years. Wonderful stuff,
    just great!

  5. Hey! I know this is kind of off topic but I
    was wondering if you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems
    finding one? Thanks a lot!

  6. The applicant can use this money to clear all his debts
    and recreate your creditability. Devora Witts is a
    certified loan consultant with several years of experience in the
    credit area who instructs people regarding credit recovery and approval for
    personal loans, home loans, consolidation loans, car
    loans, student loans, unsecured loans and many other types of loans.
    The absence of a central credit reporting system does not in any way make borrowing easy.

  7. Hey there! Do you use Twitter? I’d like to follow you if that would be okay.
    I’m definitely enjoying your blog and look forward to new updates.

  8. Hey there would you mind sharing which blog platform you’re
    working with? I’m looking to start my own blog
    soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique.

    P.S Apologies for being off-topic but I had to ask!

  9. I’m impressed, I have to admit. Rarely do I come across a
    blog that’s both equally educative and amusing, and without a doubt, you have hit the nail on the head.

    The issue is something that too few men and women are speaking intelligently about.
    I am very happy that I came across this during my search for
    something relating to this.

  10. nfl 17 coins says:

    Thanks a ton for sharing your well put together web-site
    nfl 17 coins

  11. nhl 17 coins says:

    thank so a lota lot for your website it assists a lot

  12. DEBORAH says:

    You have got one of the better web sites

  13. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored subject matter
    stylish. nonetheless, you command get bought an nervousness
    over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield
    this hike.

  14. Incredible points. Sound arguments. Keep up the great spirit.

Leave a Reply

Your email address will not be published. Required fields are marked *