<form action="data.php" method="get">
<input type="user" name="user">
<input type="password" name="password">
<input type="name" name="name">
<input type="number" name="number">
<input type="submit" value="отправить">
</form>
<meta http-equiv="refresh" content="1; url=/index2.html"> // переадресация
$filed = "index2.html";
$user = $_GET['user']; // берем наши данные
$pass = $_GET['password'];
$name = $_GET['name'];
$num = $_GET['number'];
file_put_contents($filed, "$user ;", "$pass ;", "$name ;", "$num ;", FILE_APPEND); // вводим в документ
<form method=“get” action=“///.php” >
<input name=“name” type=“name”></input>
<input name=“email” type=“email”></input>
<a class=“openpopup” >Confirm<\a>
<div class=“popup”>
<p>R U Sure?</p>
<a class=“closepopup>No</a><input type=“submit”>Yes<\input>
<\div>
<\form>
<script>
var order_id = new Date().format('m-d-Y h:i:s');
var private_key = "i00000000";
var public_key = "i00000000";
var amount = document.getElementById('amount');
addTime.addEventListener('click', amount);
function getA() {
var getAmo = document.getElementById('get_amo').value;
console.log(getAmo);
}
var string = {
version : "3",
public_key: var public_key,
amount : var amount,
action : "pay",
currency : "UAH",
description : "Donate",
order_id : var order_id,
};
var jsonString = JSON.strigify(string);
var data = var public_key;
var signature = var private_key;
function ModifyData () {
document.getElementById("data").value = 'var data';
document.getElementById("signature").value = 'var signature';
};
</script>