Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/05/2004, 06:32
Avatar de jnegro
jnegro
 
Fecha de Ingreso: diciembre-2001
Ubicación: Salta
Mensajes: 238
Antigüedad: 22 años, 5 meses
Puntos: 0
If Request.ServerVariables("LOGON_USER") = "" Then
Response.Status = "401 access denied"
Response.End
End If

La variable que toma el nombre esl "LOGON USER")

En PHP creo que se podría usar $_SERVER["PHP_AUTH_USER"] o $_SERVER["REMOTE_USER"]

Si la autenticación se hace en el mismo servidor en que corre php debería funcionar.

Éxitos
__________________
Julio
Clasificados Gratis