Skip to content

Commit a8772ff

Browse files
committed
commit
0 parents  commit a8772ff

18 files changed

+581
-0
lines changed

BMI.png

106 KB
Loading

amlendu.png

97.6 KB
Loading

app.png

35.5 KB
Loading

base.png

346 KB
Loading

contact-form-handler.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
$name = $_POST['name'];
3+
$visitor_email = $_POST['email'];
4+
$message = $_POST['message'];
5+
$email_from = 'amlendushekhar828@gmail.com';
6+
$email_subject = "New form submission";
7+
$email_body = "Username: $name.\n".
8+
"User email: $visitor_email.\n".
9+
"User message: $message.\n";
10+
11+
$to = "amlendushekharcss_cse18@its.edu.in";
12+
$headers = "From: $email_from \r\n";
13+
$headers = "Reply-to: $visitor_email \r\n";
14+
15+
mail($to,$email_subject,$email_body,$headers);
16+
header("Location: index.html");
17+
?>

crypt.png

185 KB
Loading

face.png

43.1 KB
Loading

i1.png

35.3 KB
Loading

index.html

Lines changed: 383 additions & 0 deletions
Large diffs are not rendered by default.

iot.png

119 KB
Loading

0 commit comments

Comments
 (0)