Gestionnaire de fichiers - Editer - /home/kridsana/webapp.cm.in.th/673190901/u67319090011/PHP/01form/information.php
Arrière
<?php // ตรวจสอบว่ามีการส่งข้อมูล POST มาจากฟอร์มหรือไม่ if ($_SERVER["REQUEST_METHOD"] == "POST") { // รับค่าที่ถูกส่งมาจากฟอร์ม $name = $_POST['name']; $surname = $_POST['surname']; $gender = $_POST['gender']; $birthdate = $_POST['birthdate']; $age = $_POST['age']; $id_number = $_POST['id_number']; $issue_place = $_POST['issue_place']; $expiry_date = $_POST['expiry_date']; $birthplace = $_POST['birthdate']; $province = $_POST['province']; $ethnicity = $_POST['ethnicity']; $nationality = $_POST['nationality']; $religion = $_POST['religion']; $health = $_POST['health']; $children = $_POST['children']; $district = $_POST['district']; $disability = $_POST['disability']; $disability_details = $_POST['disability_details']; $special_needs = $_POST['special_needs']; $living_with = $_POST['living_with']; $living_with_other = $_POST['living_with_other']; $current_address_number = $_POST['number']; $current_address_village = $_POST['village']; $current_address_alley = $_POST['alley']; $current_address_road = $_POST['road']; $current_address_subdistrict = $_POST['subdistrict']; $current_address_district = $_POST['district']; $current_address_province = $_POST['province']; $current_address_postal_code = $_POST['postal_code']; $home_phone = $_POST['home_phone']; $mobile_phone = $_POST['mobile_phone']; $email = $_POST['email']; $registered_address_number = $_POST['number']; $registered_address_village = $_POST['village']; $registered_address_alley = $_POST['alley']; $registered_address_road = $_POST['road']; $registered_address_subdistrict = $_POST['subdistrict']; $registered_address_district = $_POST['district']; $registered_address_province = $_POST['province']; $registered_address_postal_code = $_POST['code']; $registered_address_phone = $_POST['phone']; $working = $_POST['working']; $workplace = $_POST['workplace']; $position = $_POST['position']; $salary = $_POST['salary']; $workplace_name = $_POST['number']; $workplace_number = $_POST['number']; $workplace_village = $_POST['village']; $workplace_alley = $_POST['alley']; $workplace_road = $_POST['road']; $workplace_subdistrict = $_POST['subdistrict']; $workplace_district = $_POST['district']; $workplace_province = $_POST['province']; $workplace_postal_code = $_POST['postal_code']; $contact_phone = $_POST['e-mail']; $id_line = $_POST['id_line']; $facebook = $_POST['facebook']; // ใช้ echo เพื่อแสดงข้อมูลที่ได้รับมา echo "ชื่อ: $name<br>"; echo "นามสกุล: $surname<br>"; echo "เพศ: $gender<br>"; echo "วันเกิด: $birthdate<br>"; echo "อายุ: $age ปี<br>"; echo "เลขบัตรประชาชน: $id_number<br>"; echo "สถานที่ออกบัตร: $issue_place<br>"; echo "วันหมดอายุบัตร: $expiry_date<br>"; echo "สถานที่เกิด: $birthplace<br>"; echo "อำเภอ: $district<br>"; echo "จังหวัด: $province<br>"; echo "เชื้อชาติ: $ethnicity<br>"; echo "สัญชาติ: $nationality<br>"; echo "ศาสนา: $religion<br>"; echo "สถานภาพ: $health<br>"; echo "จำนวนบุตร: $children<br>"; echo "สภาพความพิการ: $disability<br>"; echo "รายละเอียดความพิการ: $disability_details<br>"; echo "ความต้องการบริการพิเศษ: $special_needs<br>"; echo "ขณะศึกษาพักอาศัยกับ: $living_with<br>"; echo "ที่อยู่ปัจจุบัน: $current_address_number $current_address_village $current_address_alley $current_address_road $current_address_subdistrict $current_address_district $current_address_province $current_address_postal_code<br>"; echo "โทรศัพท์บ้าน: $home_phone<br>"; echo "โทรศัพท์มือถือ: $mobile_phone<br>"; echo "อีเมล: $email<br>"; echo "ที่อยู่ตามทะเบียนบ้าน: $registered_address_number $registered_address_village $registered_address_alley $registered_address_road $registered_address_subdistrict $registered_address_district $registered_address_province $registered_address_postal_code<br>"; echo "โทรศัพท์: $registered_address_phone<br>"; echo "ทำงาน: $working<br>"; echo "สถานที่ทำงาน: $workplace<br>"; echo "ตำแหน่ง: $position<br>"; echo "เงินเดือน: $salary<br>"; echo "สถานที่ทำงาน: $workplace_name $workplace_number $workplace_village $workplace_alley $workplace_road $workplace_subdistrict $workplace_district $workplace_province $workplace_postal_code<br>"; echo "โทรศัพท์: $contact_phone<br>"; echo "อีเมล์: $email<br>"; echo "ID Line: $id_line<br>"; echo "Facebook: $facebook<br>"; } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Génération de la page: 0.12 |
proxy
|
phpinfo
|
Réglages