In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to solve the problem that php5.3 does not support session_register () this function has been enabled". In daily operation, I believe many people have doubts about how to solve the problem that php5.3 does not support session_register () this function has been enabled. The editor consulted all kinds of materials and sorted out a simple and useful operation method. I hope it will be helpful for you to answer the question "how to solve the problem that php5.3 does not support session_register () this function has been enabled"! Next, please follow the editor to study!
Php upgraded from 5.2.x to 5.3.2. Some programs that can be used have been reported incorrectly.
The content of the error is
Deprecated: Function session_register () is deprecated
Check that it is 5.3. this session_register will not be used, will it be lowered back? I'm not happy.
After a search, one solution is to write a function.
The copy code is as follows:
Checked that there are not many places where this problem occurred, and found another way, directly
Put
Session_register ("abc")
Change to
$_ SESSION ['abc'] = null
Can
The change of session in php5.3
Running the code in the book in php5.3 will give you the following hints:
Function session_is_registered () is deprecated in
Function session_register () is deprecated in
It means that these two functions are disapproved and disused.
The following is the code in the php official manual, and the comments section has already stated that session_register () is not approved.
The copy code is as follows:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.