The registration procedure unifies the single entrance, the core judgment is the Checkip place, only needs to make a game_id judgment in the non-real-name authentication template procedure. Because too sure, anxious to get off the psychology, coupled with the tension of everyone urged, all of a sudden, and made two mistakes: one is the game_id of the judgment position ahead of time, resulting in a lot of variables are not uploaded to the destination page, the second is not understand the header jump and include the meaning Direct use of the header to do the jump.
After the header jumps the page, cannot inherit the previous page the variable and so on the element, illustrates:
a.php file
$userEname = "Crystal";
$userCname = "Regulation regulation";
Your code
................................
Header ("location:b.php");
Your code
..................
If you refer to $userename in the b.php file, what do you think the result is? OK, no suspense, $userename = null at this time. If you include b.php with include, you can avoid the problem of empty $userename. This is still Peng remind me.
After the language: close to 9 points when the good, Peng also has been waiting for me to go home, dedicated people ah, praise one. The most pitiful number small white, originally promised to accompany her to go shopping after work, the results in the company after 2 hours, still I successfully put pigeons. It seems that this situation is still a lot, I guess she will not find me shopping ... Ah ~ programmer, really hurt!
http://www.bkjia.com/PHPjc/326030.html www.bkjia.com true http://www.bkjia.com/PHPjc/326030.html techarticle The registration procedure unifies the single entrance, the core judgment is the Checkip place, only needs to make a game_id judgment in the non-real-name authentication template procedure. Because too sure, anxious to get off the mind ...