php url _POST url out www url html form name form1 method post action

1
2
3
4
5
6
7
8
9
<?php
$url=($_POST['url']);
$out = "www.$url";
?>
<html><form name="form1" method="post" action=""><p><input name="url" type="text" size="50">
<input type="submit" name="Submit" value="Подтвердить"></p></form>
<p><input name="textfield2" type="text" value="<? echo $out ?>" size="50">
- РЕЗУЛЬТАТ
</p></html>