[Using the header () function] PHP's HTTP-related function provides a header () function. First, you must be clear that the header () function must be placed at the beginning of the php program, in addition, no other header () function or setcookie () function can be called before... syntaxHighli
[Use the header () function]
The HTTP-related function type of PHP provides a header () function. First, it must be clear that the header () function must be placed at the beginning of the php program, and there cannot be another header () the function or setcookie () is called. if it contains webpage output, this statement must be placed before the mark.
Use the following statement:
Header ("location: http://www.bibias.com ");
Exit;
?>
As long as this statement is executed, the web page will be automatically redirected to the http://www.bibias.com
[Use HTML to Mark redirection]
If (isset ($ url ))
{
Echo" ";
}
?>
CONTENT = "5; url = $ url" indicates that after 5 seconds, the webpage will automatically turn to the address $ url.
[Implement redirection using js scripts]
$ Url = "http://www.bibias.com ";
Echo"