summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hello.php12
-rw-r--r--index.html9
-rw-r--r--main.go1
3 files changed, 19 insertions, 3 deletions
diff --git a/hello.php b/hello.php
new file mode 100644
index 0000000..46319f9
--- /dev/null
+++ b/hello.php
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<h1>My first PHP page</h1>
+
+<?php
+echo 'Hello World!';
+?>
+
+</body>
+</html> \ No newline at end of file
diff --git a/index.html b/index.html
index 6cb5fe5..aaba934 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,12 @@
<!DOCTYPE html>
<head>
- <title></title>
+ <title>jaerri!</title>
+
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
-
+ <form action="hello.php" method="get">
+ <input type="submit" value="hello world">
+ </form>
</body> \ No newline at end of file
diff --git a/main.go b/main.go
index cf18b45..f0994af 100644
--- a/main.go
+++ b/main.go
@@ -8,5 +8,4 @@ func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
})
- http
}