Hi. I have one part of my script written as

header("location:$_SERVER['HTTP_REFERER']");

This works well but wanna know what I need to escape and cleanup on that referer url in order to be secure?

Thanks anyone.