NameSilo

WhatIsMySystem.com

Spaceship Spaceship
Watch

Barrucadu

Established Member
Impact
64
I'm currently making a site similar to whatismysystem.com here, what other features could I add to it?
Please include the PHP/HTML/Javascript.
I've looked on HotScripts.com but I couldnt find anything that I wanted.

The source code is here:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{ ( Your System ) }</title>
<style type="text/css">
<!--
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: bold;
}
-->
</style>
</head>

<body background="bg.gif">
<br />
<div align = "center"><table width="461" border="2" cellpadding="2" cellspacing="2" bordercolor="#A9D3FE" background="bg2.gif">
  <tr>
    <td width="230.5" background="bg2.gif"><?php

$browsers = "mozilla msie gecko firefox ";
$browsers.= "konqueror safari netscape navigator ";
$browsers.= "opera mosaic lynx amaya omniweb";

$browsers = split(" ", $browsers);

$nua = strToLower( $_SERVER['HTTP_USER_AGENT']);

$l = strlen($nua);
for ($i=0; $i<count($browsers); $i++){
  $browser = $browsers[$i];
  $n = stristr($nua, $browser);
  if(strlen($n)>0){
   $GLOBALS["ver"] = "";
   $GLOBALS["nav"] = $browser;
   $j=strpos($nua, $GLOBALS["nav"])+$n+strlen($GLOBALS["nav"])+1;
   for (; $j<=$l; $j++){
     $s = substr ($nua, $j, 1);
     if(is_numeric($GLOBALS["ver"].$s) )
     $GLOBALS["ver"] .= $s;
     else
     break;
   }
  }
}

echo "<span class='style1'>Browser: " . $GLOBALS["nav"] . " " . $GLOBALS["ver"] . "<br /></span>";

?></td>
    <td background="bg2.gif"><?php

if($_SERVER['HTTP_REFERER']==""){
	$referer = "none";
}else{
	$referer = $_SERVER['HTTP_REFERER'];
}

echo "<span class='style1'>Referer: " . $referer . "<br /> </span>";

?></td></tr>
  <tr>
    <td background="bg2.gif"><?php

echo "<span class='style1'>IP: " . $_SERVER["REMOTE_ADDR"] . "</span>";

?></td>
    <td background="bg2.gif"><script type='text/javascript'>
w = screen.width;
h = screen.height;
document.write('<span class="style1">Resolution: ', w, ' ร— ', h + "<br></span>");</script></td>
    </tr>
  <tr><td background="bg2.gif"><script type='text/javascript'>
document.write('<span class="style1">Color Depth: ')
document.write(window.screen.colorDepth + "<br></span>")
</script></td>
	<td background="bg2.gif"><script type='text/javascript'>document.write("<span class='style1'>Available View Area: ")
document.write(window.screen.availWidth + "*")
document.write(window.screen.availHeight + "<br></span>")</script>
  </tr>
</table></div>
</body>
</html>
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back