if(!isset($log_pre)) $log_pre = ""; else $log_pre .= "."; $filename = "logs/" . $log_pre . "access." . date("Y.m",time()) . ".log"; $fp = fopen($filename,"a"); $str = gethostbyaddr ( $_SERVER['REMOTE_ADDR'] ); $str .= " - -"; $str .= " [" . date("d/M/Y:G:i:s",time()) . " -0700]"; $str .= " \"" . $_SERVER['REQUEST_METHOD'] . " " . $_SERVER['REQUEST_URI'] . " HTTP/1.1\""; $str .= " 200 "; $str .= isset($file_size) ? $file_size : "1000"; if(isset($_SERVER['HTTP_REFERER'])) $str .= " \"" . $_SERVER['HTTP_REFERER'] . "\""; else $str .= " \"none\""; $str .= " \"" . $_SERVER['HTTP_USER_AGENT'] . "\""; $str .= "\r\n"; fwrite($fp,$str); fclose($fp); ?>
|
The Train Gamers Gazette Newsletter of the Train Gamers Association. http://www.mimgames.com/tga/tgg/index.html The GLG Railroad Games Support A collection of material that supports the world of Railroad gaming. http://www-personal.umich.edu/~gnichols/glg/railgames.htm Ticket to Ride A cross-country train adventure game by Alan R. Moon. Players collect train cards that enable them to claim railway routes connecting cities throughout North America. http://www.ticket2ridegame.com Lou's Game Corner: Railroad Game Links A collection of links to various Railroad games, especially the 18xx series, Rail Baron, and the crayon-type railroad games such as Empire Builder and Railway Rivals. http://home.earthlink.net/~gamecorner/railgame.html |