This is a discussion on $_POST limit? within the PHP Language forums, part of the PHP Programming Forums category; Hi... I have a form with almost 500 input text boxes. It seems like the $_POST variable's limit is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
bigoxygen@gmail.com wrote in news:1113524793.299066.249070
@g14g2000cwa.googlegroups.com: > Hi... > > I have a form with almost 500 input text boxes. do elaborate!!! 500 input text boxes!??! |
|
|||
|
Good Man wrote:
> bigoxygen@gmail.com wrote in news:1113524793.299066.249070 > @g14g2000cwa.googlegroups.com: > > >>Hi... >> >>I have a form with almost 500 input text boxes. > > > do elaborate!!! 500 input text boxes!??! Sounds like he he/she works for the Internal Revenue Service |
|
|||
|
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 |
|
|||
|
On 14 Apr 2005 17:26:33 -0700, bigoxygen@gmail.com wrote:
>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. 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.php'> <?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.andyhsoftware.co.uk/space> Space: disk usage analysis tool |