473,386 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

$_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.

Jul 17 '05 #1
5 8272
bi*******@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!??!
Jul 17 '05 #2
Good Man wrote:
bi*******@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
Jul 17 '05 #3
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
Jul 17 '05 #4
On 14 Apr 2005 17:26:33 -0700, bi*******@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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #5
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 :)

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cal Lidderdale | last post by:
I've built a OutOfOffice calendar in PHP. Each month is a standalone table, the first column being the person's name. Then N cells, one for each day of the month. And I have 2 Calendars: a nice...
10
by: Dave Smithz | last post by:
Hi there, I have a situation where I want to have multiple submit buttons on the same form and therefore want to use a redirection php script that checks the value associated with the submit...
2
by: Bartosz Wegrzyn | last post by:
Hi, I have simple web with authentication. My main page looks like this: <?php include ("nav.htm"); include ("auth.php"); $menu = $_GET;
2
by: bigoxygen | last post by:
Hi... Is there a $_POST limit in PHP? Thanks.
10
by: Vic Spainhower | last post by:
Hello, I have a php program that is building a grid (HTML table) from a MySQL database. The problems started when I added a dropdown menu to the grid and when I did the form buttons would not...
2
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've...
27
by: ted benedict | last post by:
hi everybody, i hope this is the right place to discuss this weird behaviour. i am getting dynamically generated text or xml from the server side using xmlhttprequest. if the server side data is...
6
by: howa | last post by:
Suppose the file is stored in "upload_tmp_dir ", so why I need to increase the memory limit? If I want to upload 100 MB, how large should I set? Thanks.
3
by: Gozil | last post by:
Is there some smart way I can pass arrays in POST variables without exceeding some kind of POST limit? Let's say Im going to pass around 100 names from one page to another using javascript, I've...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.