How to restrict the number of users login ? For ex:- if the
allowed login is 10, for 11th user, the application should
restrict them from login.
Answer / abc
i will store session variable in database and every time when
user login, i will count no of session variable exists in
database, if it is more the 10 session variable , i will
generate error, otherwise i will let it login
| Is This Answer Correct ? | 8 Yes | 5 No |
what is the dirrence in PHP4 & PHP5 . ?
What are the rules for naming a php variable?
A process is identified by a unique___
How will you create a bi-lingual site (multiple languages) ?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
How do you end php?
Can we use php variable in javascript?
Tell me what sized websites have you worked on in the past?
What is if isset ($_ post submit )) in php?
What is the use of array_count_values() in php?
does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?
1 Answers Avanigoradia, Primus Global,
What is "echo" in php?