Jump to content

PHP Post


sseeley

Recommended Posts

I am running this code...

 

<?php
session_start();
$i=0;
$h=500;
$_SESSION['h'] = $h;
echo "<form action=\"test2.php\" method=\"POST\" name=\"test1\">";
while  ($i <= $h)
{
$postID = "post" . $i;
$postValue = "postValue" . $i;
echo $postID. " - ";
echo "<input type=\"text\" name=$postID id=$postID value=$postValue>";
echo "<br/>";
$i++;
}
echo "<input type=submit value=\"submit\">";
echo "</form>";
?>

 

This posts to this page...

<?php
session_start();
$i = 0;
echo $_SESSION['h'];
echo "<br/>";
while ($i <= $_SESSION['h'])
{
$postID = $_POST['post' . $i];
echo $i. " - " . $postID;
echo "<br/>";
$i++;
}
?>

 

However only the first 200 records are posted on my server.  On my test system it works fine, can anyone tell me which setting I can adjust on my server?

 

Many thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/160273-php-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.