Hello all
Has any one used or seen the following header code before ... it wont work for me
$userandpass = "user:pass";
$encoded= base64encode($userandpass);
header("Authorization: Basic $encoded");
header("Location: http://www.protected.com");
Any ideas / comments / help would be greatly appreciated
Thanks
AL