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 */