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
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 .=
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-type:
Try this when you want to logout:
?
header( 'WWW-Authenticate: Basic realm=Private');
header( 'HTTP/1.0 401 Unauthorized' );
?
//elias
Jason Rennie [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I've been playing around with PHP authentication via
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). How do i
5 matches
Mail list logo