I want to parse the query string off the HTTP_REFERRER and make that available as a variable for actions to use.
I feel like one of these options should let me do that, but I can't be sure...
The concept is simple
<?php
$parts = parse_url( $_SERVER['HTTP_REFERRER'] );
parse_str( $parts['query'], $q );
// now set $q (or its elements) as the variable
?>