tags:

views:

52

answers:

1

Hello,

How can I implement basic auth using php? Is it possible?

Thank you

+3  A: 

The PHP manual has an example of how to implement an HTTP Basic authentication in PHP

P.S. http://www.google.ru/search?q=php+basic+auth

Col. Shrapnel
I hope you provide a little more information than just a link.
Gumbo
@Gumbo I doubt I can provide more than PHP team itself
Col. Shrapnel
but of course I'd answer any certain question.
Col. Shrapnel
@Col. Shrapnel: Not even something like “The PHP manual has an example of how to implement an [HTTP Basic authentication in PHP](http://php.net/features.http-auth) …”?
Gumbo
Col's well loved for providing to the point information concisely.
@Gumbo you know that race to be first :) English isn't my native, but PHP is. I typed this address by heart, quite fast. But these wordy explanation will take ages :)
Col. Shrapnel
@Col. Shrapnel: But the five minutes time window should be enough to enhance a “two URLs” message to a “two URLs plus some bland words” message.
Gumbo
@Gumbo okay, if you want it official way. Let's close it and cut it off. There are tons of wordy answers already.
Col. Shrapnel