RE: [PHP] authorization headers

2002-04-25 Thread John Holmes
PROTECTED] > Subject: [PHP] authorization headers > > does anybody know how to pass the correct username and password as a > header > to a directory with an .htaccess file. > > i tried > > header("Authorization: Basic username:password"); > > like that and

Re: [PHP] authorization headers

2002-04-25 Thread Miguel Cruz
On Thu, 25 Apr 2002 [EMAIL PROTECTED] wrote: > does anybody know how to pass the correct username and password as a > header to a directory with an .htaccess file. > > i tried > > header("Authorization: Basic username:password"); > > like that and also where the username:password was base 64 en

[PHP] authorization headers

2002-04-25 Thread webmaster
does anybody know how to pass the correct username and password as a header to a directory with an .htaccess file. i tried header("Authorization: Basic username:password"); like that and also where the username:password was base 64 encoded and it isn't working. thanks. -- PHP General Mailin