You would normally access this via:
$HTTP_REMOTE_USER or
$PHP_AUTH_USER
but these variables are only available (and thus only show up in phpinfo) if
you have actually logged in via apache htaccess authentication.

Fred

Chamarty Prasanna Kumar <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


Hi Rasmas and All,

  Thanks very much for the prompt reply.

     phpinfo() shows only

REMOTE_ADDR
REMOTE_HOST
REMOTE_PORT

but not $REMOTE_USER.

Even I tried using $REMOTE_USER alone, but no response.

Please suggest a way.


Kumar.



  On Fri, 07 Dec 2001 Rasmus Lerdorf wrote :
> To use the HyperWave functions you need to download and
> install HyperWave,
> whatever it is.
>
> And your second question has nothing to do with
> HyperWave.  Simply check
> $REMOTE_USER.  phpinfo() would have shown you this.
>
> -Rasmus
>
> On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
>
> >
> >
> > Hi Rasmas and All,
> >
> >    Thanks very much for the reply, Rasmas.
> >
> > To use Hyperwave functions does I need to download
> >
> > software and install it or it will work with php
> >
> > intallation.
> >
> > Or is there any way to find the login "username" from
> >
> > the web page using php and that login authentication
> >
> > is being done by the apache server.ie., we are using
> >
> > password protecting directory by apache.
> >
> >
> > Thanks in advance,
> >
> > Kumar.
> >
> >
> > On Fri, 07 Dec 2001 Rasmus Lerdorf wrote :
> > > Not that I have ever used HyperWave, but a 3 second
> > > glimpse at the manual
> > > would seem to indicate that you get a HyperWave
> connect
> > > by calling
> > > hw_connect().
> > >
> > > -Rasmus
> > >
> > > On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
> > >
> > > >
> > > >
> > > > Hi All,
> > > >
> > > >    Want to know the usage of
> > > >
> > > > hw_getusername(int connection); function
> > > >
> > > >
> > > > specifically, what connection refers to !!
> > > >
> > > >
> > > > Thanks in advance,
> > > >
> > > > Kumar.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > php.net
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > To contact the list administrators, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@list-
> s.ph-
> > > p.net
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> p.net
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to