Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP Fatal error: Call to undefined function session_register() in .php file

Have Programming Question? Ask it here!
 
 
 


Java Coder
Fatal error: Call to undefined function session_register() in .php file
2 Answer(s)      3 months and 21 days ago
Posted in : PHP


I upgraded the PHP and MySQL and in my application following error is coming:

Fatal error: Call to undefined function session_register() in ...php file.

How to resolve the issue?

Thanks


Advertisement
View Answers

December 27, 2013 at 12:06 PM


Hi,

You should remove the session_register() code from your code and use following code:

$_SESSION["mysessionvariable"] ="value";

Thanks



December 27, 2013 at 12:06 PM


Hi,

You should remove the session_register() code from your code and use following code:

$_SESSION["mysessionvariable"] ="value";

Thanks



Related Tutorials/Questions & Answers:
 

 

 

DMCA.com