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 |
How to execute an sql query? How to fetch its result?
Which is better mysql or sql?
What is a php form?
How to find out, how a user visited a particular page?
What is $_ get and $_ post in php?
How to add different images in php program like a job site.......
What is split function in php?
1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.
Explain about image types in detail?
What is the name of the scripting engine that powers PHP?
Are objects passed by value or by reference?
How are sessions maintained?