"php - should i call exit() after calling location: header?" Answer’s

0

You definitely should. Otherwise the script execution is not terminated. Setting another header alone is not enough to redirect.

Wednesday, March 31, 2021
 
Sendy
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :