MonkeyMonster
Member
- Oct 2, 2016
- 2
- 0
- 36
Hello there, i'm here to a question:
How to prevent Spam on my Script?
I've got a script for my hosting; so, there are a Group of users that refresh the page, creating too many servers. I want to find a way to allow the creation of a server or prevent the refresh page. Ideas?
Thanks.
How to prevent Spam on my Script?
I've got a script for my hosting; so, there are a Group of users that refresh the page, creating too many servers. I want to find a way to allow the creation of a server or prevent the refresh page. Ideas?
PHP:
<head>
<meta charset="utf-8">
<title>My Site</title>
<link rel="stylesheet" href="css2/style.css">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
</head>
<?php
session_start();
header("Cache-control: private");
if(@$_SESSION["user"]){
?>
<?php
//Ts3Script is Here
?>
<?php
if($_SESSION['permission'] > 1){
?>
<a href = "modUser.php">mod user</a> |
<a href = "delUser.php">del user</a>
<?php
}
?>
<html>
<form action="userarea.php" method="post" name="sign up for beta form">
<div class="header">
<p>TeamSpeak 3 Server</p>
</div>
<div class="description">
<p>Get a free Ts3 Server with 100 Slots and 98% Uptime Now!</p>
</div>
<div class="input">
<input type="text" class="button" id="email" name="name" placeholder="MyCommunityName">
<input type="submit" class="button" id="submit" value="Create">
</div>
</form>
</html>
<?php
}
?>
<?php
}
else header("location: index.php?fail=1");
?>