Change description of "User Name" in WWW-Authentic

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
krchang
Forum Newbie
Posts: 1
Joined: Mon Oct 25, 2004 6:14 pm

Change description of "User Name" in WWW-Authentic

Post by krchang »

Hi, All the PHP expert,
I am a newbie of PHP programming, and I tried to use header( 'WWW-Authenticate: Basic realm="Private"' ); to authenticate User, but I like to change the description of "User Name:" in the Pop-Up Logon box to be something else,say "User Email", Can it be done? If So, How ?

Thank you in advance !

Richard
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Might be wrong but im pretty sure that it is standard and that you can only change the realm description. But since this is part of the httpd server itself it might vary for server to server.
Post Reply