Generally speaking, I know it is used to force redirect after an action is performed (like when we request a PHP script to write into the database).

But I was wondering what the `?fail=2` does and what other options are there besides it. Also, can the header be used in several PHP scripts that do different tasks but all must redirect to same page?

Are there other ways to **automatically** redirect to that page besides using the header?