For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2006 > Re: [PEAR] Auth









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
bertrand Gugger

2006-03-22, 8:03 am

Hello,
looks like your posts come through
Auth is used successfully by many installations.
Your way of telling "it does not work" helps nobody starting by yourself.
Yes, that's blindness as you say :)
Did you look in the delivered pear/doc/Auth or pear/test/Auth ?
I was happy with
http://pear.php.net/manual/en/packa...cation.auth.php myself ...
Regards.
--
toggg

Frank Høvin wrote:

> (Are any of my posts comming through? I haven't seen any of them from
> the list myself...)
>
> Hi,
>
> Does anyone have a working example of PEAR:AUTH? The documentation on
> the site seems a bit sparse or outdated, and it's not helping me at
> all. I found another example here: http://circle.ch/blog/p566.html ,
> but that doesen't work either. How can this simple little thing be so
> hard to use? In the above example, after implementing it exactly as
> described (with the database table etc.), it's still not possible to
> log in. It looks like there's a md5 encryption on the password - I
> tried both the password and the long string - nothing works. I also
> tried writing this from the bottom up, with a auth table with no
> encryption. It's still impossible to get authenticated. Must be some
> blindness on my part, I think. Neither the incredible simple example
> in the PEAR documentation, nor any other examples work for me.
>
> Anyone got some help?
>
> --
> -Frank H.
>

bertrand Gugger

2006-03-22, 7:00 pm

Frank Høvin wrote:

>
>
> Yah - when I registered a new e-mail address. From my old one, none of
> the messages I send to the list appear at the list, for reason. I can
> see other peoples messages, though. Oh, well.
>
>
>
> True - not expecting too much from that poor description :-)
>
> Well: What I do, is I make a database called auth, with a table called
> auth - as described in the first basic example in the documentation
> (PEAR website). Of course, I change all the variables according to my
> database (host, dbname, table, username, password, username-column,
> password-column etc.). Then I try to run the example. And I'm not able
> to get "auth-ed". I can't see any reason why there should be anything
> that's possible to miss. As I said in another message, I've also tried
> this example: http://circle.ch/blog/p566.html
>
> The problem here is the same - I follow the exact instructions, but
> it's not "working". Regards,
> Frank H.
>

var_dump() the "not working" result
can you imagine we have no idea what code you run , and where you run it
(as what system, etc.) ?
Sponsored Links







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

Copyright 2008 codecomments.com