Thanks for your fast response
It's custom code from a scripting language.
How to access please the environment variables to get the parameter. (In PHP use $_GET['key'].)
Actually you're spot on!
Want to implement this:
Code:
<?php
session_start();
$self = "{$_SERVER['PHP_SELF']}?{$_SERVER['QUERY_STRING']}";
if(!empty($_GET['key']) && $_GET['key'] == "9288" ) {
unset($_GET['key']);
$qs = http_build_query($_GET);
$self = "{$_SERVER['PHP_SELF']}?{$qs}";
$_SESSION['key'] = 1;
header("Location: $self");
exit;
} elseif (!isset($_SESSION['key'])) {
header('Location: https://ppcmode.com');
exit;
}
session_unset();
session_destroy();
session_write_close();
include("lander.php");
To make the script show the correct page you have to append the url parameter key to the end. So for example
https://ppcmode.com?key=9288 The key would be set and the correct landing page would load. The visitor however would only see:
https://ppcmode.com in their browser.