set_default_authorization
set_default_authorization($login,$password); - set http authorization by default
The input function accepts parameters:
$login – default http authorization username$password – default http authorization password
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed