Commit 8c6fefd9 authored by Andrew's avatar Andrew

tesers

parent d453e35b
......@@ -2,8 +2,14 @@
define('INDEX', 'index');
if($_SERVER['REQUEST_URI']=='/dsp')
require("pages/dsp.php");
elseif($_SERVER['REQUEST_URI']=='/ndsp')
require("pages/ndsp.php");
else if(preg_match("/^\/go\?/", $_SERVER['REQUEST_URI']))
require("pages/go.php");
else if(preg_match("/^\/tgo\?/", $_SERVER['REQUEST_URI']))
require("pages/tgo.php");
else if(preg_match("/^\/tnurl\?/", $_SERVER['REQUEST_URI']))
require("pages/tnurl.php");
else if(preg_match("/^\/nurl\?/", $_SERVER['REQUEST_URI']))
require("pages/nurl.php");
else die("OK");
\ No newline at end of file
This diff is collapsed.
<?if(!defined('INDEX')) die;
$q=parse_url($_SERVER['REQUEST_URI'])["query"];
parse_str($q,$_GET);
$l=strval($_GET['l']);
$s=strval($_GET['s']);
if($l=='' || $s=='')
die;
header("location: http://quorumstore.com.ua/{$l}/?utm_source={$s}");
die;
<?if(!defined('INDEX')) die;
header("HTTP/1.0 204 No Response");
die;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment