int getmxrr(string hostname,array mxhosts [,array weight])
//Can create a Session or restore the current Session
bool session_start(void)
//End Session
bool session_destroy(void)
//Get or modify the current Session name
string session_name(string [name])
//Get or modify the current Session module name
string session_module_name(string [module])
//The path currently storing Session can be obtained or reconfigured. If there is no parameter path, it means that only the path directory name of the current Session is obtained. Adding parameter path path means that the Session is stored on the new path.
string session_save_path(string [path])
//The code number currently stored in Session can be obtained or reconfigured. If there is no parameter id, it means that only the current Session code is obtained. Adding parameters means that the Session code is set to the newly specified id
string session_id(string [id])
//Add a variable from the global variable to the current Session. Parameter name is the variable name to be added, and if successful, it returns true
bool session_register(string name)
//Delete the variable name in the global variable in the current Session
boolean session_unregister(string name)
//Check whether there are specified variables registered in the current Session
boolean session_is_registered(string name)
//Set the current Session to serialize encoding and return the serialized representation method
string session_encode(void)
//The Session data can be decoded. Parameter data means the data to be decoded, and if successful, it returns true
bool session_decode(string data)
//Set the user-level Session storage function, and the Session data can generally be stored in the local host database
void session_set_save_handler(string open,string close,string read,string write,string destroy,string gc)
//Cancel the settings of all registered variables in Session
void session_unset(void)
//The header is a string sent by the web page server before transmitting HTML documents to the browser using HTTP messages, separated by an empty line between the header and the HTML file.
int header(string string)
//Send a cookie as an integral part of the header of the HTTP message. The parameter name represents the name of the cookie; value represents the value of the cookie. The parameter is an empty string represents the cancellation of the data of the cookie in the browser; expire represents the validity time of the cookie; path is the relevant path of the cookie; domain represents the website of the cookie; secure is only valid when the secure transmission of https
int setcookie(string name [,string value[,int expire [,string path [,string domain [,int secure]]]]])
//If the header has been sent, return true, otherwise return false
bool headers_sent(void)
//Convert special characters (As &, double quotes, single quotes, less than and greater than) into HTML entities
string htmlspecialchars(string string)
//Convert all characters in string into HTML entity
string htmlentities(string string)
//Return the internal conversion table used by htmlspecialchars() and htmlentities()
string get_html_translation_table(int table [,int quote_style])