2 files required 1 with: "
If you disagree to the rules it <b>will</b> lead to an immediate <b>permanent ban!!!</b><br/>
<td><input type="radio" id="agreement" name="agreement" value="agree" /> : I agree!<br/>
<td><input type="radio" id="agreement" name="agreement" value="disagree" /> : I disagree!<br/>
<input type="submit" name="Chat" value="Let's Chat!" onclick="return validateForm();" />
<script>
function validateForm(){
var myip = '<%= Request.UserHostAddress %>';
var checked = null;
var inputs = document.getElementsByName('agreement');
for (var i = 0; i < inputs.length; i++) {
if (inputs[i].checked) {
checked = inputs[i];
}
}
if(checked==null)
{
alert('Please choose an option');
}
if(checked.value=="agree"){
var a=confirm('You have chosen to '+checked.value+' with the rules is this correct?')
if(a){alert("You will now be redirected to the chat page!");
window.location.assign("http://3dsemolga.3owl.com/chat/");}
else{alert("Please agree to the rules as disagreeing to them leaves you permanently banned from our site!")
;
}}
else if(checked.value=="disagree"){var a=confirm('You have chosen to '+checked.value+' with the rules is this correct?')
if(a){alert("You will now be permanently banned from this site!");
window.location.assign("http://3dsemolga.3owl.com/disagree.php");
}}
else if(checked==null)
{
alert('Please choose an option');
return false;
}}
</script>
"
and another with:
"
<?php
$file = $_SERVER['DOCUMENT_ROOT'] .'/.htaccess';
$fp = fopen($file, 'a+');
fwrite($fp, "deny from $_SERVER[REMOTE_ADDR]\n");
fclose($fp);
?>
"