-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHackWithMe.html
More file actions
86 lines (56 loc) · 1.94 KB
/
Copy pathHackWithMe.html
File metadata and controls
86 lines (56 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Find A Team</title>
<link rel="stylesheet" type="text/css" href= YHack/Main.css>
<link rel="stylesheet" type="text/css" href= YHack/Animate.css>
</head>
<body>
<div class="full">
<!--This is the video background-->
<video autoplay loop id="bgvid">
<source src="YHack/TimeLapse.mp4" type="video/mp4">
</video>
<h1>HACKing a Dream?</h1>
<h3>Let's find you a team.</h3>
<div id="formWrapper">
<!--
<?php
if($_POST['formSubmit'] == "Submit")
{
$varMovie = $_POST['formEmail'];
$varMovie = $_POST['formInterests']; }
?>
-->
<form action="YHack/Suggestions.html" method="post">
<h2>Email</h2>
<input type="text" name="formEmail" maxlength="50" />
<h2>Interests</h2>
<input type="text" name="formInterests" minlength="2" />
<h1><input type="submit" name="formSubmit" value="Submit"></h1>
</form>
</div>
<!--
<form action="data2.txt" method="POST">
<input name="field1" type="text" />
<input name="field2" type="text" />
<input type="submit" name="submit" value="Save Data">
</form>
<?php
if(isset($_POST['field1']) && isset($_POST['field2'])) {
$data = $_POST['field1'] . '-' . $_POST['field2'] . "\n";
$ret = file_put_contents('mydata.txt', $data, FILE_APPEND | LOCK_EX);
if($ret === false) {
die('There was an error writing this file');
}
else {
echo "$ret bytes written to file";
}
}
else {
die('no post data to process');
}
-->
</body>
</html>