mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2025-12-15 23:18:47 +00:00
upload.php 1st draft
This commit is contained in:
parent
a4832358ea
commit
2168199135
34
upload.php
Normal file
34
upload.php
Normal file
@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>FightHub - Upload</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<script src="scripts/main.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php
|
||||
$servername = "localhost";
|
||||
$username = "fighthubuser";
|
||||
$password = "cC33dC8W";
|
||||
|
||||
$conn = new mysqli($servername, $username, $password);
|
||||
|
||||
if($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
|
||||
$url = $_GET['url'];
|
||||
$name = $_GET['name'];
|
||||
$username = $_GET['username'];
|
||||
$description = $_GET['description'];
|
||||
$event_date = $_GET['date'];
|
||||
$length = $_GET['length'];
|
||||
$characters = $_GET['characters'];
|
||||
$players = $_GET['players'];
|
||||
$game = $_GET['game'];
|
||||
$stage = $_GET['stage'];
|
||||
|
||||
echo "<h1>" . $game . "</h1>";
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user