why are you using var_dump($_POST) ??
If you want to pass data from one page to another in PHP just create 2 files. Let's sets first file name as send.html, and another one as receive.php.
Now put these codes into send.html file:
<form method="post" action="catching-var.php">
1. <input type="text" name="name1"/><br/>
2. <input type="text" name="name2"/><br/>
3. <input type="text" name="name3"/><br/>
4. <input type="text" name="name4"/><br/>
<input type="submit" name="submit"/>
</form>
Also put these lines into receive.php file:
<?php
$name0 = $_POST['name0'];
$name1 = $_POST['name1'];
$name2 = $_POST['name2'];
$name3 = $_POST['name3'];
$name4 = $_POST['name4'];
echo $name0.'<br/><br/>';
echo $name1.'<br/><br/>';
echo $name2.'<br/><br/>';
echo $name3.'<br/><br/>';
echo $name3.'<br/><br/>';
?>
Put some values into the HTML textbox fields and click the Submit button.
EDIT: If you do this in Yii Framework all of these operations and codes are same. But you must paste the PHP codes in action. That's all.
Please tell me; in which step you have problem?
Thanks. Best regards.