|
Warning: ereg_replace() [function.ereg-replace]: REG_EMPTY in /home/hg/hg19243/tools/remoteinfo.php on line 7
Get remote infosand reuse it in javascript within the browserUsage : ?param=n n=1 to get the user agent n=2 to get the remote ip address n=4 to get the remote host name n=8 to get the referrer n=16 to get the browser language Add these numbers if you want to get more than 1 option To reuse the values in browser scripts, some variables are set, respectively HTTP_USER_AGENT, REMOTE_ADDR, REMOTE_HOST, HTTP_REFERER, HTTP_ACCEPT_LANGUAGECall this URL from an html page in a script tag like this : <script language="javascript" src="?param=5"></script> tip : use it in a formular to be submited , with a such tag : 'input type=hidden' |
|