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); ?>
|
InteliHealth Harvard Medical School's consumer health information, journal databases, a medical dictionary, FAQs on latest news and live forums. http://www.intelihealth.com/ BBC Health Features current news plus archives, guides by subject, "Ask a Doctor" inquiry feature, a searchable conditions database, message board, and e-mail newsletter subscription. http://www.bbc.co.uk/health/ Judge: Web Sites for Health Provides evidence-based guidelines to assist consumers and site creators in assessing the quality of health information on the internet. Free copies can be downloaded for printing. http://www.judgehealth.org.uk/ AOL Body Find advice, information about diseases and drugs, fitness tips, and news items. http://body.aol.com/health |