PHP Classes

session_status

Recommend this page to a friend!

      Login and validate users Class  >  All threads  >  session_status  >  (Un) Subscribe thread alerts  
Subject:session_status
Summary:Call to undefined function session_status
Messages:5
Author:António Lourenço
Date:2014-09-01 12:51:19
 

  1. session_status   Reply   Report abuse  
Picture of António Lourenço António Lourenço - 2014-09-01 12:51:19
I tried the example but it gives "Call to undefined function session_status () in login.class.php on line 253" error.

António Lourenço

  2. Re: session_status   Reply   Report abuse  
Picture of Alison Silva Alison Silva - 2014-09-01 13:27:19 - In reply to message 1 from António Lourenço
Hello António,
The session_status is introduced in PHP 5.4. Please, check your PHP version.
If you can't get this version or superior, say, and i help you change the code for your case.

Thanks,
Alison Silva

  3. Re: session_status   Reply   Report abuse  
Picture of António Lourenço António Lourenço - 2014-09-01 16:03:49 - In reply to message 2 from Alison Silva
Currently I work with ampps. I reconfigured for php 5.4.
Already is pumping.
Thanks for your help.

Antonio Lourenco

  4. Re: session_status   Reply   Report abuse  
Picture of Alison Silva Alison Silva - 2014-09-01 16:15:05 - In reply to message 3 from António Lourenço
Cool it worked,
if you need any more help just say.

Thanks,
Alison Silva

  5. Re: session_status   Reply   Report abuse  
Picture of Martin Howells Martin Howells - 2014-09-05 20:32:50 - In reply to message 4 from Alison Silva
First, might be nice if you could advise what to do if this is a problem, for those of us that don't have 5.4?

Second, I'm not too fussed on the passwords being in a plain text field, visible to anyone that can get access. Most login codes I've seen use the BLOB field to help mask the password - will this work with your class?