Thanks
In that case, if...
$_SERVER['HTTP_USER_AGENT']="Mozilla/4.0 (compatible; MSIE 5.5; CS 2000 6.0; Windows NT 5.0)";
I can just...
Code: Select all
<?
$host=$_SERVERї'HTTP_USER_AGENT'];
$host=strtr($host,")"," ");
$host=chop($host);
$host_array=explode(";",$host);
$browser=$host_arrayї1];
$isp=$host_arrayї2];
$opr_sys=$host_arrayї3];
?>
Your IP address is : <?=$_SERVERї'REMOTE_ADDR']?><br>
Your Browser is <?=$browser?><br>
Your ISP is <?=$isp?><br>
Your Operating system is <?=$opr_sys?><br>
I'll use ...
Code: Select all
$ip = $REMOTE_ADDR;
$host = gethostbyaddr($ip);
...to store the actual isp.
Although, is there ever a time when $_SERVER['HTTP_USER_AGENT'] will return something with more or less elements?
I cant tell because I can only get my own info.
Does $_SERVER['HTTP_USER_AGENT'] consist of a multi-dimentional array whos elements can be accessed individually or is it just a string?
Again, Sincerest thanks for all your time and help.
PS I just had a friend try on a cable modem and the array elements are different.

This will only work if I can access the $_SERVER['HTTP_USER_AGENT'] elements individually. Back to the drawing board...
Virgil