For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > August 2004 > Re: [PEAR] Auth + DataObject









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Auth + DataObject
Norbert Mocsnik

2004-08-31, 8:56 pm

Jacques Nunes wrote:
> How use the Auth package with DataObject? Anybody have a example?


Hello Jacques,

I think there's no way to use them together and it isn't necessary.

You probably want to store Auth data in a database. In this case,
you have to pass

- the same DSN to Auth in its constructor
http://pear.php.net/manual/en/packa....auth.intro.php

- that you pass to DB_DataObject in either an array or an .ini-file
http://pear.php.net/manual/en/packa...nfiguration.php

DB_DataObject has nothing to do with Auth.

Regards,
Norbert

--
Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com