Home >Backend Development >PHP Tutorial >PHP session_encode() and session_decode()_PHP Tutorial
This article will introduce to you the usage of PHP session_encode() and session_decode(). Students who need to know more can refer to this example.
session_encode
session_encode — Encode the current session data into a string
Description
string session_encode ( void )
session_encode() returns a string containing the encoded current session data.
The code is as follows
|
Copy code
|
||||||||
//boolean session_encode()
$bgcolor = "white";
Statement: The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn Previous article:addslashes, mysql_real_escape_string and mysql_escape_string introduction_PHP tutorialNext article:addslashes, mysql_real_escape_string and mysql_escape_string introduction_PHP tutorial Related articlesSee more |