third
This commit is contained in:
33
info.php
33
info.php
@ -1 +1,34 @@
|
||||
<?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
|
||||
*/
|
Reference in New Issue
Block a user