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 Urban Rancher The Texas A&M University site dedicated to improving rural living with information on natural resources, rural life, and the urban-rural interface. http://theurbanrancher.tamu.edu/ ProgressiveFarmer.com Forums and news for farmers and people involved in rural issues. http://progressivefarmer.com/ CountryRoads Network An information resource for America's rural population, providing links to valuable sites about farming, health, travel, recreation, investing, cooking, news, cars and trucks, and religion. http://www.countryroads.net/ Kountry Life An interactive country and rural living site with discussion forums, photo gallery, articles, how-to information, humor, sounds, and recipes. http://www.kountrylife.com/index.htm Internet Hay Exchange Free International hay listing service for the US and Canada. http://www.hayexchange.com/ Soil and Health Library A free how-to and encouragement resource for self-supporters with little cash, for non-domineering environmentalists, and folks frustrated with urbanity. http://www.soilandhealth.org/ Yonder Way For the small farmer, homesteader, or country family. Articles, a bulletin board, and links for homesteading and small farm resources. http://www.yonderway.com/ Countryside Magazine Selected articles from the printed magazine for readers seeking voluntary simplicity and greater self-reliance with emphasis on home food production. Gardening, cooking, food preservation, and livestock. Has an active forum. http://www.countrysidemag.com/ Rural Index A guide to rural, countryside and environmental websites in UK, designed for those who live, work in or value the rural way of life. http://www.ruralindex.net/ Log and Timber Style The magazine for log and timber frame homes, building, log cabins, architecture, design, decorating, real estate and rustic furniture. http://www.logandtimberstyle.com/ Cottage Living Guide for cottage, cabin and recreational property owners. Read cottage related articles, get your cottage questions answered and link to a host of related cottage and cabin sites. http://www.cottageliving.com Rural Living Canada A concise directory of Canadian non-urban lifestyle information, news and websites. http://rurallivingcanada.4t.com/ Our Country Haven Forum for old-fashioned tips for home business and frugal living. http://ourcountryhaven.com/OCH1/index.php Renewing the Countryside Aims to strengthen rural areas by highlighting the initiatives and projects of rural communities, farmers, artists, entrepreneurs, educators, and activists. http://www.renewingthecountryside.org |