RE: [PHP] authorization headers

2002-04-25 Thread John Holmes
Couldn't you use something like this: header("Location: http://user:[EMAIL PROTECTED]/path/to/file.php";); ---John Holmes... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 11:11 AM > To: [EMAIL PROTECTED] > Subject: [PHP] autho

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