olliedean
ollie.cool
- Jan 28, 2013
- 433
- 107
Return URL is:
Have it on my client.php:
in forcevote.php:
When I try enter the client, it shows this.
You must be registered for see links
Have it on my client.php:
Code:
<?php include_once ("forcevote.php");
?>
in forcevote.php:
Code:
<?php
if(isset($_GET['voted'])) {
}
else {
$userip = "{$_SERVER['HTTP_CF_CONNECTING_IP']}";
$current_url = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);
$url = 'http://votingapi.com/validate.php?user=Lucid&ip=' . $userip;
$context = stream_context_create(array('http' => array('timeout' => 1)));
$data = @file_get_contents($url, 1, $context);
if(!$data || !is_numeric($data)) {
return "Error";
}
else if ($data == 1 || $data == 2) {
}
else {
header ("Location: http://votingapi.com/vote.php?username=Lucid&api=https:!!lucidhotel.pw!client?novote");
exit;
}
}
When I try enter the client, it shows this.