SyntaxFix
Write A Post
Hire A Developer
Questions
Another elegant one is
header("Location: http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"); exit;