34 lines
927 B
PHP
34 lines
927 B
PHP
<?php
|
|
/*$flag = false;
|
|
|
|
$surname = $_REQUEST["surname"];
|
|
$name = $_REQUEST["name"];
|
|
$patronymic = $_REQUEST["patronymic"];
|
|
|
|
$fullName = new fullName($surname, $name, $patronymic);
|
|
$fullName = $fullName->getFoolName();
|
|
|
|
$gender = $_REQUEST["gender"];
|
|
$DateOfBirth = $_REQUEST["DateOfBirth"];
|
|
|
|
$additionallyInfo = new additionallyInfo($DateOfBirth, $gender);
|
|
$additionallyInfo = $additionallyInfo->getAdditionallyInfo();
|
|
|
|
$countryCode = $_REQUEST["countryCode"];
|
|
$phoneNumber = $_REQUEST["phoneNumber"];
|
|
$email = $_REQUEST["email"];
|
|
|
|
$contacts = new contacts($countryCode, $phoneNumber, $email);
|
|
$contacts = $contacts->getContacts();
|
|
|
|
$p1 = new Information($fullName, $additionallyInfo, $contacts);
|
|
$fullInformation = $p1->getFullInformation();
|
|
|
|
$flag = isFullInfo($fullName, $additionallyInfo, $contacts);
|
|
|
|
if($flag) {
|
|
$file = fopen("Information.txt", "a");
|
|
fwrite($file, $fullInformation);
|
|
fclose($file);
|
|
} // if
|
|
*/ |