[PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread Daevid Vincent
Is there a way to customize the 'Username' and 'Password' strings in a 401
auth dialog box?
 
I want to change mine to say Webmaster ID and Authentication Key.
 
http://php.net/manual/en/features.http-auth.php
 


Re: [PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread David OBrien
On Thu, Jun 28, 2012 at 7:23 PM, Daevid Vincent dae...@daevid.com wrote:

 Is there a way to customize the 'Username' and 'Password' strings in a 401
 auth dialog box?

 I want to change mine to say Webmaster ID and Authentication Key.

 http://php.net/manual/en/features.http-auth.php


This  http://www.ietf.org/rfc/rfc2617.txt says the browser actually
controls the prompts all you get to set is the realm.