[pubcookie-users] pubcookie & php
Nathan Dors
dors at cac.washington.edu
Tue Jan 21 15:36:38 PST 2003
On Tue, 21 Jan 2003, Maurizio Marini wrote:
> i'm starting a project in php by scratch and i think it would be nice to be
> able to authenticate users using pubcookie, without missing php session
> management features; is someone there that has reasoned on this issue?
> i'm new with php and any suggestion on this integration will be appreciated
Integration is simple. Just apply pubcookie-based
authentication to your PHP script using the
appropriate AuthType directive. Then consume the
result. It's available in PHP's superglobal arrays as
$_ENV[REMOTE_USER]
See also
http://www.php.net/manual/en/language.variables.predefined.php
-Nathan
More information about the pubcookie-users
mailing list