Come posso identificare una macchina client Mac o Pc usando la variabile
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
?
Come posso identificare una macchina client Mac o Pc usando la variabile
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
?
con una variabile d'ambiente diversa da quella che hai postato ma non ricordo quale
dai un'occhiata a qualche referenza
http://www.webdevindex.net/directory.asp?id=1&t=5
ciao![]()
<%
userAgent = request.serverVariables("HTTP_USER_AGENT")
if inStr(userAgent,"Win") > 0 then
getOS = "win"
elseif inStr(userAgent,"Mac") then
getOS = "mac"
end if
response.write getOS
%>
e invece come rilevare il numero ip del client? perchè fa vedere soltanto quello del gateway....
Grazie
..:: GSFLASH ::..
HTTP://WWW.GSFLASH.IT
MCTS - ACP - OCP - ECDL
Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)