Unstoppable Domains โ€” Expired Auctions

PHP HTTP_REFERER question

SpaceshipSpaceship
Watch

Nunim

Established Member
Impact
1
This script is having some issues

PHP:
<?php

$ADMIN[defaulturl] = "http://www.dragon-gaming.com/wow/dontsteal.html";

$okaysites = array ("http://dragon-gaming.com","http://www.dragon-gaming.com");    

$ADMIN[url_1] = "http://www.dragon-gaming.com/download";

//////////////////////////////////////////////////////

$reffer = $HTTP_REFERER;
	if($reffer) {
$yes = 0;
	while(list($domain, $subarray) = each($okaysites)) {
	if (ereg("$reffer",$subarray)) {
$yes = 1;
		}
		}
$theu = "url"."_"."$site";
	if ($ADMIN[$theu] AND $yes == 1) {
	header("Location: $ADMIN[$theu]/$file");
	} else {
	header("Location: $ADMIN[defaulturl]");
	}
	} else {
	header("Location: $ADMIN[defaulturl]");
}

?>

Any clue whats up?
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
would help me fix it if i new what the problem was other than "its broken"
 
0
•••
Last edited:
0
•••
"downloads complete" with a php file and text doc inside?

so what exactly is the problem lol?

also just a tip it makes code so much easier to read if its tabbed, for otheres and for you in the fureture
 
0
•••
Wait it works for you? I don't understand this at all.... I get a 404 every time I click the link from an approved domain or not.
 
Last edited:
0
•••
The requested URL /wow/dontsteal.html was not found on this server.
 
0
•••
Ok, I got this working thanks guys. Found my issue.
 
Last edited:
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back