codice:
<form action="myfile.php" method="post">
<input type="hidden" name="op" value="function1">
<input type="hidden" name="param1" value="1">
<input type="hidden" name="param2" value="2">
<input type="submit" caption="Invia">
</form>
Questo il codice nel file myfile.php:

codice:
<?php
function1($param1, $param2) {
...
header("Location: ilfileprecedente.php");
}

switch ($op) {
case function1:
function1($_POST[param1], $_POST[param2])
break;
}