Validate to full URL including parameters
My registration form includes several parameters in the url and I want the url to keep those parameters. The redirect is currently set to:
".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true . What should I change it to to keep the current url including parameters?