<html>
<head>
    <title> The Socks : Ultimate Strategy Guide </title>
    <meta name="description" content="The guide to all games, past, present, and future">
    <meta name="keywords" content="">
    <meta name="author" content="basscomm, with a little help from web.blazonry.com">
    <meta name="copyright" content="(c) 1997-2002. astonishinc.com, (c) 2002 me">
    <meta name="origin" content="September 1997, September 2002">
    <meta name="MSSmartTagsPreventParsing" content="TRUE">
    <link rel="STYLESHEET" type="text/css" href="/style/socks1.css">
</head>
<body  topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">


<h2>Search for help on a game.</h2>
<p><hr size=1 noshade></p>

  <form action="/strategyguide/guide.php" METHOD="POST">
	<p><b>Enter the name of the game you need help on: </b><br>
	<input type="text" name="realname" size=25> &nbsp; &nbsp;
	<input type="submit" value="Submit">
	</p>
  </form>

<p><hr size=1 noshade></p>


<BR>


<P>Just enter the name of the game that you are looking for and we will search our massive database to bring you the best proven strategies for that game.</P>


</body>
</html>
<? 
if ($REQUEST_METHOD == "POST")  
{ 
$displayname = $realname; 
$realname = strtolower($realname); 

/*== generate seed number from name submitted ==*/ 
$len = strlen($realname); 
$seed = 0; $s = 0; 

for ($e=1; $e<=$len; $e++)  
{ 
$chr = substr($realname,$s,$e); 
$seed = $seed + ord($chr)*$e; 

$s=$e; 
} 

/*== read in the two files into the arrays ==*/ 
$adj_array = file("wu_adjs"); 
$noun_array = file("wu_nouns"); 

/*== set random seed ==*/ 
srand($seed); 

/*== get the random numbers for each name first/last or adj/noun ==*/ 
$arnd = rand(0,sizeof($adj_array)-1); 
$nrnd = rand(0,sizeof($noun_array)-1); 

/*== create name from random numbers ==*/ 
/*== $wuname = "$adj_array[$arnd] $noun_array[$nrnd]"; ==*/ 
$verb = "$adj_array[$arnd]";
$adj = "$noun_array[$nrnd]";

print "<p><font size=4>How to win at <b>$displayname</b>:<br>"; 

print "<font size='+1'><b> $verb $adj </b></font></font></p>"; 

} 

?> 

<a href=/>Back to The Socks</a>
