Chris Dion wrote:
> I'm trying to use pam_auth for a script.  It loads into php but it's not
> authenticating the users.  I'm using the correct password and username.
> This is a example of how I'm using the function:
>
> pam_auth($_POST[uname], $_POST[passwd], &$error)
>
> Any ideas? Thanks in advance

Listen, I don't have the foggiest idea what pam_auth() does.  Maybe it's
some PHP code that you have... but I have never seen it.  So unless you
actually provide us with a little code here 99.9% of us are going to be
clueless about what your function is doing...

Other than that your question is a good one... so please, just ask it
again, but this time give us an idea of what pam_auth() is doing.

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to