
17/05/2004, 06:32
|
 | | | Fecha de Ingreso: diciembre-2001 Ubicación: Salta
Mensajes: 238
Antigüedad: 23 años, 3 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 |