umm i just istalled apache, php and mysql and i tried using this script and it diddnt work, php apache and mysql do work, but pages are having problems sending info to themselves. i'm using apache 1.3.27 and php 4.3.2 if that helps.
<form action="<?php echo $PHP_SELF?>" method="post">
Your name: <input type="text" name="name">
You age: <input type="text" name="age">
<input type="submit">
</form>
<p>Hi <?php echo $name; ?>.
You are <?php echo $age; ?> years old.