Re: [PHP] : Who is there ?

From: Alex (AperetjaPadSpam_at_capgemini.fr)
Date: 03/16/04


Date: Tue, 16 Mar 2004 10:43:51 +0100


>
> What you need to do is to log the information with help of PHP to a file,
> there are three $_SERVER variables that can give you some info and they are
> PHP_AUTH_USER, PHP_AUTH_PW, AUTH_TYPE
> [...]

Yessss that's it ! I've got my user in $_SERVER['PHP_AUTH_USER'] ( or
getenv("REMOTE_USER") ).
By the way do you know a solution to know the group in with the user is
in ?

Alex.

-- 
Alex.
Pourquoi les établissements ouverts 24 heures sur 24 ont-ils des 
serrures?


Relevant Pages

  • Re: where do you store app wide data?
    ... Thanks Tommy - thats pretty much the answer I didn't want! ... this without even a second thought - PHP is making it a bit of an effort. ... there is an ServletContext object for storing app wide data. ... > not have support for application wide variables, or server variables if ...
    (alt.php)
  • Re: How to get the document root (public html folder)?
    ... > You must have something wrong with your server setup because I am running ... > PHP on Windows XP and all the $_SERVER variables are there. ... > running Apache, not IIS, so the fault must be with IIS. ... I believe you need to have PHP as Apache module to get the DOCUMENT_ROOT ...
    (comp.lang.php)
  • Re: Apache 2.0.54, Windows 2k, and php5.0.5 - do the work together
    ... > PHP and HTML ... > Server Variables ... Prev by Date: ...
    (comp.lang.php)
  • Re: PHP 3 Question
    ... >1.3.27 with PHP 3.0.17 ... there is no other server variables available?? ... There's a few PHP3 manuals listed on Google, ... disk usage analysis tool ...
    (alt.php)
  • Re: where do you store app wide data?
    ... How is this done in PHP? ... > know I could use a database or even a file, but this seems a bit much ... not have support for application wide variables, or server variables if you ... The Shared memory functions is one option, ...
    (alt.php)