ho controllato! PHP_AUTH_USER non esiste nel print_r di $_SERVER ma esiste REMOTE_USER ho sostituito e funziona!!
Regole del Forum