PHP page jumps one, header () function
Click the button
Use post method
X.php page only makes judgment logic after processing
php // isset function IF (isset ($ _ post ["]) {header (" location: xx.php? name = ". $ _ post [" name "]);}?>
Note that this jump will report an error in PHP because the current page already has output content.
PHP page jumps two, Meta labels
The META tag is a label that is responsible for providing document element information in HTML, using this tag in the PHP program, or you can implement page jump. If you define http-equiv to refresh, you will be jumped to the respective time during a certain period of time according to the value specified in Content. If you set content = "seconds; URL = URL", it defines how long the page jumps to the specified URL.
For example, the following program META.PHP implementation is automatically jumped after a second after this page.
PHP page jumps three, JavaScript
PHP
$ URL = "http://blog.9cbs.net/21ASPNET";
echo "