cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Retrieving the authenticated username:password from server with PHP

From: <simon_at_ice.org>
Date: Tue, 18 Mar 2008 00:55:45 -0400

Christopher Vrooman wrote:
> I would assume they would show up in $_SERVER['PHP_AUTH_USER'] &
> $_SERVER['PHP_AUTH_PW'], but those two variables have never, ever
> appeared for me.
>
I can confirm that these variables do indeed work, and are set in PHP
when a user is authenticated by simple http auth - I was working with a
project using these yesterday.

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-03-18