Passing PHP form variables from one page to other
<p>my php configuration on server are showing i can post variables to maximum size upto 8MB , thats enough .. but how to check for number of variables , sever is running ubuntu 4.4 , php .</p>

<p>i have a page which takes students marks and send them to a action page , but on action page doing echo for the post variables nothing is being displayed , where are doing an echo "hello"; this shows ...</p>

<p>this is the page which sends the variables </p>

<pre><code>&lt;form name="frm" action="marklistI.php" method="POST" class="" &gt;
    &lt;?php $tb-&gt;displayTable() ?&gt;
    &lt;div class="mainframe"&gt;
        &lt;input type="hidden" name="batch" value="&lt;?php print $_GET['batch']; ?&gt;"/&gt;
        &lt;input type="hidden" name="sem" value="&lt;?php print $_GET['sem']; ?&gt;" /&gt;
        &lt;input type="hidden" name="chance" value="&lt;?php print $_GET['chance']; ?&gt;"/&gt;
        &lt;input name="submit" type="submit" class="hide" value="Save"/&gt;
        &lt;input type="hidden" name="url" value="&lt;?php print $_SERVER['REQUEST_URI']; ?&gt;"/&gt;
    &lt;/div&gt;
&lt;/form&gt;
</code></pre>

<p>and this are the variables are coming to action page .. but on echo they are not showing any value .</p>

<pre><code>$dept =$_COOKIE['dept'];
$join=$_POST['batch'];
$type='e';
$sem=$_POST['sem'];
$chance=$_POST['chance'];
</code></pre>
