shuron
RTFM
Цитата:
Server variables: $_SERVER
'HTTP_USER_AGENT'
Contents of the User_Agent: header from the current request, if there is one. This is a string denoting the user agent being which is accessing the page. A typical example is: Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586). Among other things, you can use this value with get_browser() to tailor your page's output to the capabilities of the user agent.
'REMOTE_ADDR'
The IP address from which the user is viewing the current page.
|
Также:
Цитата:
get_browser
Tells what the user's browser is capable of (PHP 3, PHP 4 )
object get_browser ( [string user_agent] )
....
By default, the value of HTTP_USER_AGENT is used
|
В общем, открывай PHP Manual и читай раздел Predefined Variables
По яваскрипту:
JavaScript Browser Sniffer
Думаю, тебе этого достаточно будет.
__________________
"If people only knew how hard I work to gain my mastery, it wouldn't seem so wonderful at all." Michelangelo Buonarroti
Последний раз редактировалось Saruman; 19.01.2004 в 17:44.
|