Thiago H. Pojda wrote:
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get it
working. I believe it has something to do with the password containing a #
(can't change it) and the browser thinks it's an a
Richard Lynch wrote:
> You can always add more .htaccess files in more directories, or edit the
> one that's there.
And that's precisely what I did. The only reason why I only have
.htaccess in the top-level directory is that I don't have any directives
specific to one subdomain that the others sho
> I have no idea what to do to deal with this. There is only one .htaccess
> file, which is in the top-level directory of my account with my ISP. And
> I've even put
You can always add more .htaccess files in more directories, or edit the
one that's there.
> AuthType None
>
> in there, but it doe
Yes,
documentation says :
"If safe mode is enabled, the uid of the script is added to the realm part
of the WWW-Authenticate header. "
and second :
"The HTTP Authentication hooks in PHP are only available when it is running
as an Apache module and is hence not available in the CGI version"
and als
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
LacaK wrote on 20.03.2005 19:13:
| Hello Roman,
| yes if safe_mode=on then
| Authorization header is hidden from phpinfo() and
apache_request_headers(),
|
| but variables $_SERVER["PHP_AUTH_USER"] and "PHP_AUTH_PW"
| are set , when Basic authorization
Hello Roman,
yes if safe_mode=on then
Authorization header is hidden from phpinfo() and apache_request_headers(),
but variables $_SERVER["PHP_AUTH_USER"] and "PHP_AUTH_PW"
are set , when Basic authorization is used ! (it works in my configuration
of Apache and PHP)
Problem may be in Apache . Whe
Hello,
On 01/10/2004 06:01 PM, Scott Taylor wrote:
What is the easiest way to access a page that is protected by HTTP basic
authentication through PHP? In other words, I have a PHP page that will
get the username and password off a database and will then login
through HTTP authentication to ac
Hello,
On 11/19/2003 12:30 PM, Chandu Nannapaneni wrote:
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = "POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ";
$header .= base64_encode("$username:$password")."\r\n";
$header .= "Content-
its probably because its possible to authenticate with an url ?
eg
http://name:[EMAIL PROTECTED]
Chandu Nannapaneni wrote:
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = "POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ";
$header .=
php is serverside, PHP_AUTH_USER is set by the client, therfore when you
unset() the serverside instance of PHP_AUTH_USER the client doesnt know
about this and keeps sending the username/pass. the only way I know of is to
re-send the http auth headers and change the domain. this works for me.
Change the realm out from under them.
IE, keep a dynamic list of "Realm" values to use, and when you want to
re-authenticate, present a new, unused "Realm"
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-
> I am using PHP to send a header to the browser requestiing authentication.
> On a successful login i am tracking inactivity by the client and want to
> expire the login once a timeout period is reached. Problem is if the
session
> expires and the user just refreshes then the orignal login detail
Hi,
I am attaching one example program.
I hope this will help you a lot.
Regards
-Balaji
Hi all,>> I've been playing around with PHP authentication
via HTTP.>> I'm using apache, and when i use the
header('WWW_Auth...)>> headers i get a username/password dialog
pop up (as i wanted).>> H
Try this when you want to logout:
//elias
"Jason Rennie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I've been playing around with PHP authentication via HTTP.
>
> I'm using apache, and when i use the header('WWW_Auth...)
>
> headers i get a
14 matches
Mail list logo