Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sample user administration

Posted on 2015-02-15
6
Medium Priority
?
47 Views
Last Modified: 2015-03-06
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.
0
Comment
Question by:UniqueData
  • 4
6 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40611591
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.
0
 
LVL 7

Author Comment

by:UniqueData
ID: 40611625
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.
0
 
LVL 7

Author Comment

by:UniqueData
ID: 40611640
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
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 111

Expert Comment

by:Ray Paseur
ID: 40612076
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.
http://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.
 http://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
0
 
LVL 7

Accepted Solution

by:
UniqueData earned 0 total points
ID: 40612399
Thanks Ray.  You had given me those links when I was working on my first register/login webpage.  I am actually using your exact code on this one too (as far as login/logout).  I love it.  But for this one I am having their manager add staff instead of having a register page so I wanted a nice looking grid for him to add/delete/edit. Plus there will be other grids for data entry.

The link I provided talks about DataTables, which looks is being updated through the years. I just downloaded 1.10.5 and it seems to be working perfectly.
0
 
LVL 7

Author Closing Comment

by:UniqueData
ID: 40648800
i was able to find a solution
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question