PHP 8 · Web, security and database
Redirect
Send a redirect and stop the script.
header('Location: /login', true, 302);
exit;
PHP 8 · Web, security and database
Send a redirect and stop the script.
header('Location: /login', true, 302);
exit;
Was this page helpful?