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); ?>
|
Planet eBook News, information, newsletters, discussion, and an online store. http://www.planetebook.com/ TeleRead Information on the initiative to bring electronic books to all people. http://www.teleread.org/ The eBook Community An e-mail discussion group devoted to e-books, the e-book industry, and related topics. Membership is required to access the online archives. http://groups.yahoo.com/group/ebook-community/ EBookFriends.com Discussions for authors, publishers, and marketers of electronic books. http://www.ebookfriends.com/ Suite 101: E-Books Archive of articles about e-books and e-book publishers. http://www.suite101.com/welcome.cfm/e-books OpenReader Consortium A cooperative project to create a universal, open standards digital publication distribution format which will be platform-independent and capable of high typographic presentation quality. http://www.openreader.org/ if:book The weblog of The Institute for the Future of the Book. Thinking about the evolution of publishing, education and creative labor in the digital age. http://www.futureofthebook.org/blog/ Open eBook Publication Structure Specification Information on the specification for electronic books published by the International Digital Publishing Forum. http://www.idpf.org/oebps/history.htm |