Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Undefined session_is_registered() #1

Closed
futuri opened this issue Aug 18, 2014 · 1 comment
Closed

Undefined session_is_registered() #1

futuri opened this issue Aug 18, 2014 · 1 comment

Comments

@futuri
Copy link

futuri commented Aug 18, 2014

Fatal error: Call to undefined function session_is_registered() in ...\main_login.php on line 3

la función "session_is_registered" es obsoleto en las nuevas versiones de php , la solución

isset($_SESSION['myusername']) es igual a session_is_registered(myusername)

o también

function session_is_registered($x){
return isset($_SESSION['$x']);
}

@fethica
Copy link
Collaborator

fethica commented Aug 20, 2014

session_is_registered was deprecated in Php 5.4, I updated the project to use $_SESSION (Php version > 5.3)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants