<?
$id = md5(uniqid(microtime(),1)).getmypid();
?>

<? echo $id; ?>
<form action=<?echo $PHP_SELF;?>>
<input type=submit value="Novo N�mero">
</form>