Response::redirect //PHP Function
Join the DZone community and get the full member experience.
Join For Free
class Response{
function redirect($url){
exit(header('Location: ' . $url));
}
}
Opinions expressed by DZone contributors are their own.
Comments