PEAR vs PHPLIB
Moderator: General Moderators
PEAR vs PHPLIB
Hello
I want to which one of these libraries outstands the other one, which one is best for what? and is it possible to use both?
thanx in advance
I want to which one of these libraries outstands the other one, which one is best for what? and is it possible to use both?
thanx in advance
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
well actually I'm loooking for a good code for an authentication system, I checked the internet, there are tons of methods out there, and I dont know which one is the best to choose?
I need a system where I need sessions, and have user levels such as admin, normal user and etc..
can you refer me to some good php scripts which I dont need to reinvent the wheel?
!!!!!!!!!
one more thing, are there any good frameworks for PHP design? if yes refre me to them... thanx
I need a system where I need sessions, and have user levels such as admin, normal user and etc..
can you refer me to some good php scripts which I dont need to reinvent the wheel?
!!!!!!!!!
one more thing, are there any good frameworks for PHP design? if yes refre me to them... thanx
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
A general Authentication and Access Control system is a difficult thing to build. But a specific one is not that difficult. You might be better off just building something that specifically meets your needs. Are you clear about the design of such a system? Are you clear about the difference between Authentication and Access Control?
As for frameworks I hear good things about Symphony and Prado, but there are many and it is partly a matter of taste. I hear that WACT will have a long overdue release as well.
And remember that there will be a preview release of the Zend Framework this month. That should change the PHP framework landscape considerably (depending on how good it is).
As for frameworks I hear good things about Symphony and Prado, but there are many and it is partly a matter of taste. I hear that WACT will have a long overdue release as well.
And remember that there will be a preview release of the Zend Framework this month. That should change the PHP framework landscape considerably (depending on how good it is).
(#10850)
well I understand the concept of access control and authentication.. I have read alot of code samples... but as you said there are hundreds of ways to do that.... Im gonna give it a try to build my own system, with my specs..
here my thoughts on the authentication system:
1- Need a table to have the username, passwords and their respective user level inside ( question which I have is, should the password be encrypted and kept in the database, like a md5 or crypt encryption? )
2- there needs to be a table to contain the session control
can you explain the best way to have session control, I have heard the theme mixing session control and cookies toegther? how to implement it... can you explain the plain procedure from login in till loging out????
here my thoughts on the authentication system:
1- Need a table to have the username, passwords and their respective user level inside ( question which I have is, should the password be encrypted and kept in the database, like a md5 or crypt encryption? )
2- there needs to be a table to contain the session control
can you explain the best way to have session control, I have heard the theme mixing session control and cookies toegther? how to implement it... can you explain the plain procedure from login in till loging out????