<?php
if($_POST['submit-board']) {
$url=$_POST['url'];
$thai=$_POST['thai'];
$topic=$_POST['topic'];
$detail=$_POST['detail'];
$tel=$_POST['tel'];
$email=$_POST['email'];
$ip = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '';
// check if URL is entered and redirect to mail.com if it is
if(preg_match('#^https?://#i', $url)){
header("Location: https://mail.com");
exit();
} else {
// send the email if the URL is not redirected
$to = "maili@mail.com";
$subject = "mail.com $thai"; //1
$sub="..."; //2
// send the email using the mail() function
mail($to,$subject,$sub,"From: $email");
}
}
?>
ใส่ form html ตรงนี้ ...
เวอไนน์ไอคอร์ส
ประหยัดเวลากว่า 100 เท่า!
เวอไนน์เว็บไซต์⚡️
สร้างเว็บไซต์ ดูแลเว็บไซต์
Categories
- computer internet (285)
- food (2)
- med (23)
- Music Movie (31)
- tool (43)
- ฮวงจุ้ย (9)
- Travel (68)
- Uncategorized (1,271)
- web (626)
- form to mail in php html
- ThemeX
- การเพิ่ม Whitelist ให้อีเมล
- futuristic high-tech buttons / Scifi button
- css ตัดมุม button
- สร้างไฟล์เว็บควบคุม การเข้าถึง path ต่างๆใน com
- button
- vsdc transparent background
- toothpaste ยาสีฟัน
- code ครอบลิ้ง
- code แสดง Breadcrumb
- Liam
- Script Track IP When a user comes to the website, if there are many pages opened in different url (scanning web), stop and block.
- ติดตามไอพี hacker และ block ออกจากเว็บ
- http to https
- form to email
- how differnce
- include file after submit
- โชว์ข้อความขึ้นมาขณะกดปุ่ม submit และ หายไปเมื่อเพจโหลดเสร็จ
- godaddy