I haven't seen this posted anywhere, but I seem to get these issues whenever I try to go to my findretros.php:
The code I use is:
whenever I use my username "blink" (not login) I get a white page, but if I were to use any other username, like spark, or even blinkhotel, it works. I even made a new server for testing and did the same there. Didn't work. Am I missing something?
You must be registered for see links
The code I use is:
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=blink&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=blink&api=http:!!blinkhotel.co.uk!index?novote");
exit;
}
}
?>
whenever I use my username "blink" (not login) I get a white page, but if I were to use any other username, like spark, or even blinkhotel, it works. I even made a new server for testing and did the same there. Didn't work. Am I missing something?