using the header function to redirect

Quick question - When I use the header(“Location: mysitehome.php”) for example, does the script terminate at this point, or does the rest of the script continue to execute first?

Well, I ended up finding the answer!

the script does indeed continue. You have to use the exit function to halt the script.


Sponsor our Newsletter | Privacy Policy | Terms of Service