php - Error with sessions in my website -


I am using PHP 5.4 and I am getting this error:

[28-Jul-2014 13:40:33] PHP Fatal Error: Call Undefined Function session_is_registered ()

Here's my code:

  & Lt ;? Php if ($ _SESSION ['session_chat'] & amp; $ _SESSION ['session_admin'] & $ _SESSION ['session_setup']) session_start (); Include_once ("../web/conf-init.php"); $ DOCUMENT_ROOT = Actual Path (preg_replace ("/ http: /", "", $ DOCUMENT_ROOT)); Include_once ("$ DOCUMENT_ROOT / API / UTIITI.FPP"); $ Transcript = ""; $ Text = (isset ($ _GET ['text']))? $ _GET ['Text']: ""; $ Requestid = (isset ($ _GET ['request']))? $ _GET ['Request']: ""; $ Sid = (isset ($ _GET ['sid']))? $ _GET ['sid']: ""; $ Action = (isset ($ _GET ['action']))? $ _GET ['Action']: ""; $ Admin_id = (isset ($ _GET ['admin_id']))? $ _GET ['admin_id']: ""; $ Theme_admin = (isset ($ _GET ['theme_admin']))? $ _GET ['theme_admin']: ""; $ Respawn = 0; If (isset ($ _SESSION ['session_chat'] [$ sid] ['asp_login'])) $ l = $ _SESSION ['session_chat'] [$ sid] ['asp_login']; And if (isset ($ _SESSION ['session_admin'] [$ sid] ['asp_login'])) $ l = $ _SESSION ['session_admin'] [$ sid] ['asp_login']; And if (isset ($ _SESSION ['session_setup'] ['login'])) $ l = $ _SESSION ['session_setup'] ['login']; Else  

copy / paste from

session_is_registered

WARNING - This function has been removed as PHP 5.3.0 and has been removed as PHP 5.4.0.

Although I do not see your call at that function. Is this in conf-init.php?


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -