$link = "http://www.example.com/?item=".urlencode(base64_encode("user-data")); foreach($_GET as $loc=>$item) $_GET[$loc] = base64_decode(urldecode($item));