<? $newnick = $_POST["newnick"]; $newpass = $_POST["newpass"]; $newemail = $_POST["newemail"]; if (isset($_POST[submit])) { echo file_get_contents("http://domen.ru/?inc=reg&nick=$newnick&pass=$newpass&email=$newemail®key=md5hash"); } ?> <form method="post" action=""> nick:<input type="text" size="12" maxlength="12" name="newnick"><br /> pass:<input type="text" size="12" maxlength="36" name="newpass"><br /> email:<input type="text" size="12" maxlength="36" name="newemail"><br /> <input type="submit" value="submit" id=sumbit name="submit"> </form>