Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 107,507 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 1,801 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



ACL

 
Reply to this topicStart new topic

ACL, How would one go about doing ACL in PHP?

ellisgl
post 24 Jul, 2008 - 10:25 AM
Post #1


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


I've been trying to figure out how to make a full on ACL system for PHP. I have looked at PHPGACL, but trying to implement it was sort of confusing and it hasn't been updated in 2 years. I know that several frame works have ACL stuff in it, but I don't want to deal with a frame work.

So I did find this: http://www.chronosight.net/view/2007/07/856-acl-in-php.html, but I not thinking it's a full solution....


So how would you try to implement a ACL system in PHP?
User is offlineProfile CardPM

Go to the top of the page


ellisgl
post 25 Jul, 2008 - 08:01 AM
Post #2


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


OK - here's a quickly thrown together system. I need to add more to it, but wanted to get the input from all of you. Attached File  acl.zip ( 4.26k ) Number of downloads: 3
User is offlineProfile CardPM

Go to the top of the page

ellisgl
post 25 Jul, 2008 - 08:49 AM
Post #3


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


Here's an update zip file with all the small fixes..


Attached File(s)
Attached File  acl.zip ( 3.98k ) Number of downloads: 5
User is offlineProfile CardPM

Go to the top of the page

ellisgl
post 27 Jul, 2008 - 01:44 PM
Post #4


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


There is one small bug in that code - a type - I'll post a new zip tomorrow morning with the fix. I've gone ahead and start a 'framework' around it with a login/registration system. I'll post more about it in the next couple days.
User is offlineProfile CardPM

Go to the top of the page

ellisgl
post 28 Jul, 2008 - 07:54 AM
Post #5


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


Typo on a variable fixed..


Attached File(s)
Attached File  acl.zip ( 4.29k ) Number of downloads: 5
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/29/08 03:27AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month