Re: Re:USERNAME

From: Date: Fri, 07 Dec 2001 06:55:58 +0000
Subject: Re: Re:USERNAME
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76996@lists.php.net to get a copy of this message
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 <ch_kumar_1@rediffmail.com> wrote in message news:20011207063607.7583.qmail@mailweb18.rediffmail.com... 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: > php-general-unsubscribe@lists.- > > > php.net > > > > For additional commands, e-mail: > > > php-general-help@lists.php.net > > > > To contact the list administrators, e-mail: > > > php-list-admin@lists.php.net > > > > > > > > > > > > > -- > > > 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: > > > php-general-help@lists.php.net > > > To contact the list administrators, e-mail: > > > php-list-admin@lists.php.net > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.ph- > p.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#76996) next »