Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php redirect to another page

if (/*Condition to redirect*/){
  //You need to redirect
  header("Location: http://www.yourwebsite.com/user.php"); /* Redirect browser */
  exit();
 }
else{
  // do some
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #redirect #page
ADD COMMENT
Topic
Name
8+3 =