Re: [PHP] $PHP_AUTH_USER question...

2003-06-09 Thread Wendell Brown
On Fri, 6 Jun 2003 11:36:51 +0100, [EMAIL PROTECTED] wrote: How can I get that to talk to $PHP_AUTH_USER? I'm not sure this is exactly what you want (actually, I'm pretty sure this is coming at it from the opposite end), but here is a way I used it for a very simple / low security situation. I

[PHP] $PHP_AUTH_USER question...

2003-06-06 Thread Tristan . Pretty
I have a page that allows a user to login, provided their username and password files from a previous form, match an entry in a MySQL database. All fairly standard. How can I get that to talk to $PHP_AUTH_USER? When I use an .htaccess file to a directory that's protected, I don't want the user

[PHP] PHP_AUTH_USER failing, please help me...

2002-11-25 Thread Larry Brown
I just built a new server and loaded with RH8. I copied my php files over to the new apache server and modified the links. I couldn't find any mention of php in the httpd.conf so I figured it must me compiled into httpd so I tested it. The PHP files load, however, the php_auth_user and

[PHP] PHP_AUTH_USER

2002-08-30 Thread Hendråwan Rinäldi
anyone can help me what is the script for log out WWW-authenticate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP_AUTH_USER

2002-08-30 Thread Liam MacKenzie
I'm afraid you're going to have to be more specific than that my friend. - Original Message - From: Hendråwan Rinäldi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 30, 2002 7:43 PM Subject: [PHP] PHP_AUTH_USER anyone can help me what is the script for log out WWW

RE: [PHP] PHP_AUTH_USER

2002-08-30 Thread Matt Schroebel
From: Hendråwan Rinäldi [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 5:44 AM Subject: [PHP] PHP_AUTH_USER anyone can help me what is the script for log out WWW-authenticate You can't log out of http authentication. Close the browser is it. Not very secure, eh. Use

Re: [PHP] PHP_AUTH_USER

2002-08-30 Thread Stas Maximov
You can't log out of http authentication. Close the browser is it. Not very secure, eh. Use a session based login method if you need logout function. Why not? Sending this to the client should do the job: header('WWW-Authenticate: Basic realm=My Realm'); header('HTTP/1.0 401

RE: [PHP] PHP_AUTH_USER

2002-08-30 Thread Matt Schroebel
From: Stas Maximov [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:02 AM To: Matt Schroebel Cc: PHP General Subject: Re: [PHP] PHP_AUTH_USER You can't log out of http authentication. Close the browser is it. Not very secure, eh. Use a session based login method

Re: [PHP] PHP_AUTH_USER

2002-08-30 Thread Stas Maximov
Yes, Matt, you were right about tracking the authorized state with a session. I actually thought about same thing: keeping a variable somewhere which will help to decide whether to send those Authenticate headers or not - just didn't realize you meant the same thing. :) And a little excerpt from

Re: [PHP] PHP_AUTH_USER

2002-08-30 Thread Hendråwan Rinäldi
- Original Message - From: Liam MacKenzie [EMAIL PROTECTED] To: Hendråwan Rinäldi [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 30, 2002 4:49 PM Subject: Re: [PHP] PHP_AUTH_USER I'm afraid you're going to have to be more specific than that my friend. every body or my

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread 1LT John W. Holmes
I have a bunch of pages on my site inside an apache .htaccess protected directory. After visitors have logged in I am on part of my site I need to find out which user it is that has logged in. I thought this information was stored in the $PHP_AUTH_USER variable, but when I print this variable

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
Correction Redhat7 :-) Got it working thanks for all the help! -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 9:36 AM To: Fifield, Mike; [EMAIL PROTECTED] Subject: Re: [PHP] PHP_AUTH_USER I have a bunch of pages on my site inside

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread 1LT John W. Holmes
. Holmes' [EMAIL PROTECTED]; Fifield, Mike [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 12:19 PM Subject: RE: [PHP] PHP_AUTH_USER Correction Redhat7 :-) Got it working thanks for all the help! -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 10:48 AM To: Fifield, Mike Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP_AUTH_USER And the solution was? remember, other people actually search the archives before they post, so giving the solution to your problem will help those

[PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
I have a bunch of pages on my site inside an apache .htaccess protected directory. After visitors have logged in I am on part of my site I need to find out which user it is that has logged in. I thought this information was stored in the $PHP_AUTH_USER variable, but when I print this variable it

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread José León Serna
Hello: I have a bunch of pages on my site inside an apache .htaccess protected directory. After visitors have logged in I am on part of my site I need to find out which user it is that has logged in. I thought this information was stored in the $PHP_AUTH_USER variable, but when I print this

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread António Afonso Martins
I have a bunch of pages on my site inside an apache .htaccess protected directory. After visitors have logged in I am on part of my site I need to find out which user it is that has logged in. I thought this information was stored in the $PHP_AUTH_USER variable, but when I print this you

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread Christopher Riordan
Set a Cookie then you can pull it out that way. PHP_Auth is based upon Cookies from what I was able to figure out. Chris - Original Message - From: Fifield, Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 9:59 AM Subject: [PHP] PHP_AUTH_USER I have a bunch

[PHP] $PHP_AUTH_USER

2002-04-20 Thread Alec M.
Hello, I have trouble unseting the values of $PHP_AUTH_USER and $PHP_AUTH_PW. I use the WWW-Authenticate via header() to authorize the user when accessing the page. But when the user logs out, values in $PHP_AUTH_USER and PW seem to remain and the user isn't asked again to authorize till a new

RE: [PHP] $PHP_AUTH_USER

2002-04-20 Thread Craig Vincent
I have trouble unseting the values of $PHP_AUTH_USER and $PHP_AUTH_PW. I use the WWW-Authenticate via header() to authorize the user when accessing the page. But when the user logs out, values in $PHP_AUTH_USER and PW seem to remain and the user isn't asked again to authorize till a new

[PHP] $PHP_AUTH_USER $PHP_AUTH_PW Dialog?

2001-11-30 Thread Chris Boothe
Filling these variables seems to work, but what is the header to send for a valid login? I can't seem to suppress the dialog. I have an HTML form which calls login.php. When I access the script through a redirection in the login, I don't want to see the prompt. There seems to be a lot of

[PHP] $PHP_AUTH_USER

2001-07-18 Thread Jeremy Morano
hi can I use $PHP_AUTH_USER as a global variable? I'm having a hard time with it in my other pages. -- 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