Connecting Tech Pros Worldwide Forums | Help | Site Map

$_POST limit?

bigoxygen@gmail.com
Guest
 
Posts: n/a
#1: Jul 17 '05
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
Guest
 
Posts: n/a
#2: Jul 17 '05

re: $_POST limit?


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

do elaborate!!! 500 input text boxes!??!
jerry gitomer
Guest
 
Posts: n/a
#3: Jul 17 '05

re: $_POST limit?


Good Man wrote:[color=blue]
> bigoxygen@gmail.com wrote in news:1113524793.299066.249070
> @g14g2000cwa.googlegroups.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
rovisoft
Guest
 
Posts: n/a
#4: Jul 17 '05

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
Andy Hassall
Guest
 
Posts: n/a
#5: Jul 17 '05

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.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
Philip Olson
Guest
 
Posts: n/a
#6: Jul 17 '05

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 :)

Closed Thread