$_POST limit?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bigoxygen@gmail.com

    $_POST limit?

    Hi...

    I have a form with almost 500 input text boxes.

    It seems like the $_POST variable's limit is 200 boxes, as print_r only
    gave me 200 elements.

    Has anyone else encountered this? It would be great help. Thanks.

  • Good Man

    #2
    Re: $_POST limit?

    bigoxygen@gmail .com wrote in news:1113524793 .299066.249070
    @g14g2000cwa.go oglegroups.com:
    [color=blue]
    > Hi...
    >
    > I have a form with almost 500 input text boxes.[/color]

    do elaborate!!! 500 input text boxes!??!

    Comment

    • jerry gitomer

      #3
      Re: $_POST limit?

      Good Man wrote:[color=blue]
      > bigoxygen@gmail .com wrote in news:1113524793 .299066.249070
      > @g14g2000cwa.go oglegroups.com:
      >
      >[color=green]
      >>Hi...
      >>
      >>I have a form with almost 500 input text boxes.[/color]
      >
      >
      > do elaborate!!! 500 input text boxes!??![/color]


      Sounds like he he/she works for the Internal Revenue Service

      Comment

      • rovisoft

        #4
        re:$_POST limit?

        Why don't you try to split the form in multiple pages?

        http://www.DevPlug.com --Connecting Developers
        Posted from: http://www.devplug.com/ftopic21886.htm

        Comment

        • Andy Hassall

          #5
          Re: $_POST limit?

          On 14 Apr 2005 17:26:33 -0700, bigoxygen@gmail .com wrote:
          [color=blue]
          >I have a form with almost 500 input text boxes.
          >
          >It seems like the $_POST variable's limit is 200 boxes, as print_r only
          >gave me 200 elements.
          >
          >Has anyone else encountered this? It would be great help. Thanks.[/color]

          Just tried it with 5000, with no problem.

          Do you get any errors?

          <?php
          if (isset($_POST['input']))
          {
          print "<pre>";
          print_r($_POST['input']);
          print "</pre><hr>";
          }
          ?>
          <form method='post' action='test.ph p'>
          <?php
          for ($i=0; $i<5000; $i++)
          print "<input type='text' name='input[$i]' value='$i' size='4'>\n";
          ?>
          <input type='submit'>
          </form>

          --
          Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
          <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

          Comment

          • Philip  Olson

            #6
            Re: $_POST limit?

            There is no such limit however there is the post_max_size directive,
            and web servers can also limit such sizes (size in bytes, not number of
            elements). And who knows, maybe your home computer just ran out of
            memory :)

            Comment

            Working...