How to redirect a page in php?

How to redirect a web page to another one

Team Leader Asked on October 13, 2017 in PHP.
Add Comment
1 Answer(s)

Step 1:
header( “Location: http://www.domainname.com/pagename.php” );
Step 2:
echo ‘<script type=”text/javascript”>
window.location = “http://www.domainname.com/pagename.php” </script>’;

Team Leader Answered on November 16, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.