Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

username .htaccess
Hello,

i've a secured directory. How can you determine the username in PHP?


Reno



Report this thread to moderator Post Follow-up to this message
Old Post
Reno
04-14-05 08:55 PM


Re: username .htaccess
Reno wrote:

> i've a secured directory. How can you determine the username in PHP?
>
I believe it's one of the environment variables.  Do a var_dump($_SERVER) .

Jamie

Report this thread to moderator Post Follow-up to this message
Old Post
James Pittman
04-14-05 08:55 PM


re:username .htaccess
With Apache, the name of an authenticated user is stored in an
enviroment variable which you can get with PHP. I want to say it is
REMOTE_USER but I could be wrong.


Report this thread to moderator Post Follow-up to this message
Old Post
Library Curator
04-17-05 08:57 AM


Re: username .htaccess
Reno wrote:

> i've a secured directory. How can you determine the username in PHP?
>
I believe it's one of the environment variables.  Do a var_dump($_SERVER) .

Jamie

Report this thread to moderator Post Follow-up to this message
Old Post
James Pittman
04-17-05 01:56 PM


re:username .htaccess
With Apache, the name of an authenticated user is stored in an
enviroment variable which you can get with PHP. I want to say it is
REMOTE_USER but I could be wrong.


Report this thread to moderator Post Follow-up to this message
Old Post
Library Curator
04-23-05 08:56 AM


Re: username .htaccess
On Thu, 14 Apr 2005 17:57:10 +0300, Reno <InSeCo@news.news> wrote:

> Hello,
>
> i've a secured directory. How can you determine the username in PHP?
>
>
> Reno
>
>

Maybe this will help

http://www.php.net/features.http-auth


--
"Two things are infinite: the universe and human stupidity; and I'm not
sure about the first one." - Albert Einstein

Report this thread to moderator Post Follow-up to this message
Old Post
Bender Rodriguez
04-23-05 08:55 PM


Re: username .htaccess
On Thu, 14 Apr 2005 17:57:10 +0300, Reno <InSeCo@news.news> wrote:

> Hello,
>
> i've a secured directory. How can you determine the username in PHP?
>
>
> Reno
>
>

Maybe this will help

http://www.php.net/features.http-auth


--
"Two things are infinite: the universe and human stupidity; and I'm not
sure about the first one." - Albert Einstein

Report this thread to moderator Post Follow-up to this message
Old Post
Bender Rodriguez
04-25-05 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:06 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.