Ghaymah intern

This commit is contained in:
2026-07-28 14:17:17 +03:00
commit 9a49823ced
218 changed files with 29174 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
if ($_POST['']);
$file = fopen('../emails.txt','a+');
if (!empty($_POST['email'])) {
if (filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
fputs($file,$_POST['email'].PHP_EOL);
fclose($file);
echo '<span class="text-success send-true">Your email was sent!</span>';
} else {
echo '<span class="text-danger">The input is not a valid email address!</span>';
}
} else {
echo '<span class="text-danger">All fields must be filled!</span>';
}
?>