Apache Login

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Apache Login

Post by tecktalkcm0391 »

I'm trying to have PHP redirect into a Apache-Password Protected folder. The following code works in Chrome and Firefox, but not in IE

Code: Select all

header("Location: http://username:password@website.com/members/");
Is there a way to get around the IE problem, or to do this better? Thanks!
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Apache Login

Post by requinix »

I'm pretty sure this MS KB article applies to the situation.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: Apache Login

Post by tecktalkcm0391 »

Yeah, I found that after posting this. Does anybody know a quick way to work around the IE update? Is there anyway to set the username and password then redirect, so it will work?
Post Reply