php redirect
//PHP redirect
header("Location: https://www.codegrepper.com/my-redirect-page.php");
die();
php redirect
//PHP redirect
header("Location: https://www.codegrepper.com/my-redirect-page.php");
die();
php redirect to another page
header("Location: pagetoredirectfor.php");
exit();
header location in php
<?php
/*
This will redirect to facebook.com
*/
$url = "https://facebook.com.com";
header("Location: $url");
exit;
?>
how to redirect to another page in php
<?php header("Location: anotherDirectory/anotherFile.php"); ?>
How do I make a redirect in PHP?
header("Location: http://example.com/redirect_page.php");
die(); //Force the script to quit, or you would raise an error...
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us