Solved

sample user administration

Posted on 2015-02-15
6
41 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 83

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 110

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

623 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