cvs: phpweb / do_download.php index.php

From: Date: Fri, 17 May 2002 15:27:11 +0000
Subject: cvs: phpweb / do_download.php index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10304@lists.php.net to get a copy of this message
imajes Fri May 17 11:27:11 2002 EDT Modified files: /phpweb do_download.php index.php Log: fixes Index: phpweb/do_download.php diff -u phpweb/do_download.php:1.11 phpweb/do_download.php:1.12 --- phpweb/do_download.php:1.11 Fri May 17 11:16:04 2002 +++ phpweb/do_download.php Fri May 17 11:27:10 2002 @@ -15,13 +15,13 @@ // Register the log function as a shutdown function to let the // download starts before the log activates. This way if the // "log server" does not work, downloads are still working -/* register_shutdown_function("log_download"); */ + register_shutdown_function("log_download"); // Log downloads in a shutdown function (do not disturb download) function log_download () { global $HTTP_REFERER, $HTTP_X_FORWARDED_FOR, - $REMOTE_ADDR, $SERVER_NAME; + $REMOTE_ADDR, $SERVER_NAME, $LOG_SERVER, $LOG_FILE; // Default referer if (!isset($HTTP_REFERER)) { @@ -36,8 +36,6 @@ $remote_log = @fopen($log_file, 'r'); - mail("imajes@php.net", "download log info", $log_file); - if ($remote_log) { fread($remote_log, 1024); fclose($remote_log); Index: phpweb/index.php diff -u phpweb/index.php:1.231 phpweb/index.php:1.232 --- phpweb/index.php:1.231 Thu May 16 15:03:25 2002 +++ phpweb/index.php Fri May 17 11:27:10 2002 @@ -113,7 +113,7 @@ CodeWalkers started a new bi-weekly PHP contest. Every two weeks, there is a new problem to solve, a new script to write. The winner receive prices provided by the sponsors, Zend Technologies and Sams Publishing. -You can get on the challange visiting +You can get on the challenge visiting <a href="http://codewalkers.com/php-contest.php">http://codewalkers.com/php-contest.php</a>. </p>

« previous php.mirrors (#10304) next »