Creo que esta listo entonces:
Código PHP:
Ver original<form name="reg" method="post" action="ca.php">
<?php
$serveractual = $_SERVER['SERVER_NAME'];
$pageactual = $_SERVER['php_SELF'];
$urlactual = "http://".$serveractual.$pageactual"/";
?>
<table border="0" valing="top" cellspacing="0">
<tr><td colspan="3">Registro de Usuario</td></tr>
<tr><td>Nombre de Usuario</td><td><input name="username" type="text" id="username" size="15" maxlength="30" placeholder="yo-soy-ramon" autofocus required></td></tr>
<tr><td>Contraseña</td><td><input name="password" type="password" id="password" size="15" maxlength="30" placeholder="contraseña" required></td></tr>
<tr><td>Repita - Contraseña</td><td><input name="password2" type="password" id="password2" size="15" placeholder="contraseña" maxlength="30" required></td></tr>
<tr><td>Nombre</td><td><input name="nombre" type="text" id="nombre" size="15" maxlength="30" placeholder="Rufus" required></td></tr>
<tr><td>Apellido</td><td><input name="apellido" type="text" id="apellido" size="15" maxlength="30" placeholder="Dominguez" required></td></tr>
<tr><td>Telefono</td><td><input name="telefono" type="text" id="telefono" size="15" maxlength="30" placeholder="245-8545" required></td></tr>
<tr><td>e-mail</td><td><input name="email" type="email" id="email" size="15" maxlength="100" placeholder="
[email protected]" required></td></tr>
<tr><td>
<input type="hidden" name="url" value="<?php echo $urlactual; ?>">
<input onClick="javascript:cerrar2();" type="button" name="button" id="button" value="Cancelar">
</td>
<td>
<input type="submit" name="button" id="button" value="Crear Cuenta">
</td></tr>
</table>
</form>