UniqueData
asked on
sample user administration
I don't want to re-invent the wheel but I can't find any samples of an interface where a user can add/delete users, and hopefully reset passwords. When i google I only find how to use cookies and sessions, etc.
So something like:
UserName FirstName LastName Delete User Change Password
anybody have some links or some sample code.
So something like:
UserName FirstName LastName Delete User Change Password
anybody have some links or some sample code.
Users are normally identified with cookies and sessions. What you show is what you would see on an admin page after logging into the admin section. The info is normally stored in a database that is checked when a user tries to log in.
ASKER
Sorry, I guess I didn't explain well enough
I want a webpage for someone to be able to add/delete, say from a Staff Table. So the user would see a list of staff and have the ability to add/delete staff. typical fields would be Phone Number, department, etc.
of course I will restrict access to this page so only supervisors can get to this page.
I want a webpage for someone to be able to add/delete, say from a Staff Table. So the user would see a list of staff and have the ability to add/delete staff. typical fields would be Phone Number, department, etc.
of course I will restrict access to this page so only supervisors can get to this page.
ASKER
Ahh, I finally found some samples when I googled 'Add/Edit php'
This looks interesting:
http://jquery-datatables-editable.googlecode.com/svn/trunk/index.html
This looks interesting:
http://jquery-datatables-editable.googlecode.com/svn/trunk/index.html
No offense meant to the author Jovan, but that code example mentions Firefox 3, IE4, and Windows 98. It's several years old and may be functionally obsolete by now.
This article shows the general design pattern for client authentication in PHP.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
If you're new to PHP and want to find some good learning resources, this article can help you find those. Perhaps more importantly, it can help steer you away from the many bad PHP examples that litter the internet.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html
Best of luck with your project, ~Ray
This article shows the general design pattern for client authentication in PHP.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
If you're new to PHP and want to find some good learning resources, this article can help you find those. Perhaps more importantly, it can help steer you away from the many bad PHP examples that litter the internet.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html
Best of luck with your project, ~Ray
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i was able to find a solution