Sly
I don't break the rules I bend them.
- Oct 28, 2016
- 246
- 38
The problem is, some users are able to vote, connect normally, but others arent they are either stuck at 76% or they get this error as shown in the picture below this sentence.
I know the voting API is causing this I'll post my voting script here could someone please assist me if there is anything wrong.
Things I've done;
forcevote.php is included in /client.php
FindRetros after voting is set to =
forcevote.php script is done like this;
If this code is wrong, could someone please write me a proper clean script so I can use in my forcevote.php all help is appreciated
I have posted a smiliar problem like this previously please don't get confused, the issue was not resolved.
And please read every thing I've wrote in detail so that you are aware of the problem.. all help/support is kindly appreciated.
Please also do not hesitate to ask me for any information about this problem, anything that I havent included.
I know the voting API is causing this I'll post my voting script here could someone please assist me if there is anything wrong.
Things I've done;
forcevote.php is included in /client.php
FindRetros after voting is set to =
You must be registered for see links
forcevote.php script is done like this;
If this code is wrong, could someone please write me a proper clean script so I can use in my forcevote.php all help is appreciated
PHP:
<?php
if(isset($_GET['voted'])) {
}
else {
$userip = "{$_SERVER['REMOTE_ADDR']}";
$current_url = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);
$url = 'http://votingapi.com/validate.php?user=robbo&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=robbo&api=http:!!robbo.pw!index?novote");
exit;
}
}
?>
I have posted a smiliar problem like this previously please don't get confused, the issue was not resolved.
And please read every thing I've wrote in detail so that you are aware of the problem.. all help/support is kindly appreciated.
Please also do not hesitate to ask me for any information about this problem, anything that I havent included.