In php, headerinclude is used for header redirection to solve the problem of parameter loss. In php, header redirection uses include to solve the problem of parameter loss. some colleagues in headerinclude reported that some recently launched games cannot be loaded with style files during overseas registration and need urgent repair. In php, header redirection uses include to solve the problem of parameter loss. headerinclude
Some colleagues reported that some recently launched games cannot be loaded with style files due to overseas registration and need urgent repair.
The registration process goes through a single portal. The core judgment is checkip. you only need to make a game_id judgment in the template program without real-name authentication. Because I was too certain and eager to get off work, coupled with the stress of everyone's urging, I was suddenly blinded and made two mistakes: first, the location of game_id was determined in advance, as a result, many variables are not uploaded to the target page. second, they do not understand the meaning of header jump and include, and directly use headers for redirect.
The page after the header jump cannot inherit the variables and other elements of the previous page. for example:
A. php file
$ UserEname = "crystal"; $ userCname = "Cheng "; // your code ................................ header ("location: B. php "); // your code ..................
If $ userEname is referenced in the B. php file, what is the result? $ UserEname = null. If you use include to include B. php, you can avoid the problem of null $ userEname.
The above is all the content of this article. I hope you will like it.
Some colleagues in vivo reported that some recently launched games cannot be loaded with style files during overseas registration and need urgent repair ....