Jump to content

after a redirect will the script continue to work???


sangoku

Recommended Posts

Yes, the script keeps running till it ends or hits a die/exit. You cant however output anything to the page you were on cause with a redirect obviously the buffer is no longer there for output. That is why it is good practice to put an exit after a header redirect, to stop the script from continuing on, unless of course you want something else done after the redirect.

 

 

HTH

Teamatomic

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.