It carrys over - but your php script relies on very very old "register_globals=On".
The variables of your form are *not* transferred as $name for example, but as $_POST['name'] or $_GET['name'] (depending on method type).
$_POST and $_GET are arrays which contains the variable values.
Either set register_globals = On in php.ini (what is *not* recommended, as register_globals is not any more supported from PHP6), or change your script as mentioned above.
See http://www.php.net/manual/en/language.v ... ternal.php
for detailed information.