cvs: php-master-web /fetch mirrordns.php
| From: | Gabor Hojtsy | Date: | Mon, 16 Dec 2002 22:02:50 +0000 |
| Subject: | cvs: php-master-web /fetch mirrordns.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14273@lists.php.net to get a copy of this message | ||
goba Mon Dec 16 17:02:50 2002 EDT
Modified files:
/php-master-web/fetch mirrordns.php
Log:
Adding some info on what this script does, and what it's
effect is. So all these knowledge will be preserved here.
Index: php-master-web/fetch/mirrordns.php
diff -u php-master-web/fetch/mirrordns.php:1.4 php-master-web/fetch/mirrordns.php:1.5
--- php-master-web/fetch/mirrordns.php:1.4 Mon Dec 16 16:39:11 2002
+++ php-master-web/fetch/mirrordns.php Mon Dec 16 17:02:50 2002
@@ -1,5 +1,13 @@
<?php
+/*
+ The DNS table for mirror sites gets updated using the output of
+ this script. If there is no output, or there is any line on the
+ output which does not start with + or C (probably an error
+ occured), the DNS database is not updated. The DNS list is
+ fetched in approximately five minute intervals.
+*/
+
// A token is required, since this should only get
// accessed from an authorized requester
if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") {