The meaning of the DiscuzX-custom function lies in getgpc () in function_core.php. what is the meaning of this function? Why use this function to obtain form parameters? Thank you ------ solution ------------------ In my opinion, it is mainly convenient to get variables that may be uncertain for get or post! Because $ _ REQUEST is not good ------ solution -------------- DiscuzX-meaning of the UDF
What is the meaning of the getgpc () function in function_core.php? Why use this function to obtain form parameters? Thank you.
------ Solution --------------------
In my opinion, it is mainly convenient to get variables that may be uncertain for get or post!
Because $ _ REQUEST is not very good
------ Solution --------------------
In some modules, parameters submitted do not appear in the $ _ G array. use this function. Of course, you can also use the original $ _ POST or $ _ GET. However, if the parameter submission method changes in the future, you have to change the code.
------ Solution --------------------
Secure, convenient, and easy to modify,