 includes/functions/linking.php
functions
|  url_redirect
void url_redirect(string $url, boolean $redirect)
Redirects the browser instantly to another page instead of showing the current page.
It's adviced to use this function instead of header('Location :') that way you're shure the session handler is closed properly Arguments - $url
The local URL to redirect to
- $redirect [optional, default value = false]
this option is used to store the current URI into the session which is usefull for an redirect to the login page
but you want the user to return to the current page after login
|