Thread: Help.....
View Single Post
Old 2005-04-28, 06:11 PM   #10
SexyCityEddie
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Apr 2005
Posts: 30
Quote:
Originally Posted by cd34
Code:
<?php
$ua = $_SERVER['HTTP_USER_AGENT'];
preg_match('/\)\ .*\ (.*)\//',$ua,$browser);
preg_match('/\(.*; (.*);\ .*;\ .*\)\ /',$ua,$os);
?>
your IP is: <?php echo $_SERVER['REMOTE_ADDR']; ?><br>
your browser is: <?php echo $browser[1]; ?><br>
your OS is: <?php echo $os[1]; ?><br>
your ISP is: <?php echo gethostbyaddr($_SERVER['REMOTE_ADDR']); ?><br>
<p>
<script language="javascript" type="text/javascript">
document.write(navigator.appName + "<br>");
document.write(navigator.platform + "<br>");
</script>

this is great also. i tried this but the problem is the IP OS ISP and Browser is blank, i put it inside the "body" and saved as php.. do i have to edit some?


tt
__________________
<a href="http://www.sexycitycash.com">Sexy City Cash. New FHG's & HFS's Every Week To Help You Make Some Bank</a>
SexyCityEddie is offline   Reply With Quote