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); ?>
|
FreeTechMail.org Offers a directory of IT-related newsletters. Users can view samples of newsletters, subscribe and unsubscribe and see how others rate individual newsletters. http://www.freetechmail.org/ Software E-zine Periodic newsletter offering short descriptions of software products. http://www.aaasoftware-ezine.com/ The Naked PC Newsletter What you need to know about all things PC; a free electronic newsletter http://www.thenakedpc.com/ Pencildude's Picks Bi-monthly email newsletter offering tips on computers and the Internet. http://www.pencildude.com/ Infopackets Gazette Newsletter published three times a week for new and intermediate users, focusing on Windows technologies. Online archives. http://www.infopackets.com eClippings Daily Technology Newsletters A daily double-dose of current tech news and an examination of its impact on online learning. http://tech.groups.yahoo.com/group/eClippings/ |