$value) $data[$key] = $value; if (is_array($data)) foreach ($data as $key=>$val) $$key=$val; $addon = ""; if (is_array($data)) { foreach ($data as $key=>$value) { if ( $key != "s" && $key != "w" && $key != "p" && $key != "t" && $key != "rfr" && $key != "n" && $key != "site" && $key != "webmaster" && $key != "fm" && $key != "program" && $key != "campaign" && $key != "referrer" ) { $addon .="&$key=$value"; } } } header ("Location: hit.php?s=$n&w=$webmaster&p=$program&t=$t&c=$campaign&rfr=$referrer".$addon); exit; ?>