I am using the below to get the referring URL but what I would like to check is whether $ref has a variable in it.
Referring Link http://domain.com/?s=checking
Current Link http://domain.com/product/cheese
Ideally I would like to be able to use PHP to check if the variable $ref has the GET Variable s in it
PHP
$ref = $_SERVER['HTTP_REFERER'];
isset($_GET['s'])?swon't be in the current page URL