For phpBB 3.1+ You must use the request class to access input data, so this will not work.Fodboldman wrote: ↑Thu Aug 17, 2017 11:23 am Try this
$http_referer = (isset($_SERVER['HTTP_REFERER'])) ? trim($_SERVER['HTTP_REFERER']) : trim(getenv('HTTP_REFERER'));
set_var($http_referer, $http_referer, 'string');