1. Use the redirect method of the header () function to implement Web page jumps. Exe:header ("location:http://www.example.com/"); 2.URL GET request with parameter Exe:http://www.examble.com?id=1 3. Hide the form to store data, transfer the data through the form post,get and upload the information to the PHP page: * Web settings hidden form to transfer information, Input Settings Display:none. 4. Create a cookie and place the information on the client computer to create: <?php setcookie (' userName ', ' Docter ', Time () +60*60*24*7, '/test ', '. examble.com ', 1)? & Gt The code indicates that a cookie,name=username,value=docter has been created, stored for a week, valid in the test directory, valid under the examble.com domain name, and 1 means that a secure connection can be invoked. * Only one cookie call can be set at a time: <?php echo $_cookie[' name '; | | Echo $_cookie; ?> Delete: <?php setcookie ("Uesename"); || Setcookie ("UserName", "", Time ()-1); ?> 5. Create session to put information on the server
How information is passed between pages (cookie,session)