23 lines
581 B
PHP
23 lines
581 B
PHP
|
<?php
|
||
|
$surname = $_REQUEST["surname"];
|
||
|
$name = $_REQUEST["name"];
|
||
|
$patronymic = $_REQUEST["patronymic"];
|
||
|
|
||
|
$gender = $_REQUEST["gender"];
|
||
|
|
||
|
$DateOfBirth = $_REQUEST["DateOfBirth"];
|
||
|
|
||
|
$countryCode = $_REQUEST["countryCode"];
|
||
|
$phoneNumber = $_REQUEST["phoneNumber"];
|
||
|
|
||
|
$Email = $_REQUEST["email"];
|
||
|
|
||
|
$file = fopen("Information.txt", "a");
|
||
|
fwrite($file,$surname . " " . $name . " " . $patronymic . "; ");
|
||
|
fwrite($file, $DateOfBirth . "; ");
|
||
|
fwrite($file, $gender . "; ");
|
||
|
fwrite($file, $countryCode . $phoneNumber . "; ");
|
||
|
fwrite($file, $Email . "; ");
|
||
|
|
||
|
fwrite($file, "\n");
|
||
|
fclose($file);
|