View Single Post
  #12  
Old 1st June 2008, 00:00
D3SI D3SI is offline
Senior Member
 
Join Date: May 2008
Posts: 58
Default re: D3SI Modded Source v1.2
use this redir.php
Code:
<?php

require_once "include/bittorrent.php";
dbconn(false);

if(!isset($CURUSER)) 
	die();
	
  $url = '';
  while (list($var,$val) = each($_GET))
    $url .= "&$var=$val";
	if(preg_match( "/([<>'\"]|&#039|!|&#34|%27|%22|%3E|%3C|&#x27|&#x22|&#x3E|&#x3C|\.js)/i", $url ))
		header("Location: http://www.urbandictionary.com/define.php?term=twat");
$i = strpos($url, "&url=");
if ($i !== false)
	$url = substr($url, $i + 5);
if (substr($url, 0, 4) == "www.")
	$url = "http://" . $url;
	if (strlen($url) < 10) die();
  print("<html><head><meta http-equiv=refresh content='3;url=$url'></head><body>\n");
  print("<div style='width:100%;text-align:center;background: #E9D58F;border: 1px solid #CEAA49;margin: 5px 0 5px 0;padding: 0 5px 0 5px;font-weight: bold;'>Redirecting you to:
\n");
  print(htmlentities($url)."</div></body></html>\n");
?>
__________________
I install Site Source for $