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 |
Make a "dynamic drop down list" with using only PHP,HTML and MySQL..
Explain some of the php array functions?
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini and set Also increase Memory_limit Post_max_size upload_max_filesize..........but not working......
What is the difference between php and core php?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
Which PHP function would you use to send an email?
Why using the htaccess file
Explain what are psrs?
Is array a key php?
Tell us what is the difference between session_unregister() and session_unset()?
How does header() work . What do they tell the server same question for SESSIONS
What is difference between readonly and constant?