cvs: php-master-web /fetch mirrors.php
| From: | Gabor Hojtsy | Date: | Sun, 05 Jan 2003 12:30:32 +0000 |
| Subject: | cvs: php-master-web /fetch mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14736@lists.php.net to get a copy of this message | ||
goba Sun Jan 5 07:30:32 2003 EDT
Modified files:
/php-master-web/fetch mirrors.php
Log:
Adding generated date information to output, provided in GMT, similar
to the date format used in CVS tags...
Index: php-master-web/fetch/mirrors.php
diff -u php-master-web/fetch/mirrors.php:1.16 php-master-web/fetch/mirrors.php:1.17
--- php-master-web/fetch/mirrors.php:1.16 Sun Dec 22 16:53:33 2002
+++ php-master-web/fetch/mirrors.php Sun Jan 5 07:30:31 2003
@@ -1,8 +1,13 @@
<?php
+// Current date in GMT
+$date = gmdate("Y/m/d H:i:s");
+
// Info on the $MIRRORS array structure and some constants
$structinfo = "
-/* Structure of an element of the $MIRRORS array:
+/*
+ Structure of an element of the $MIRRORS array:
+
0 Country code
1 Provider name
2 Local stats flag (TRUE / FALSE)
@@ -11,6 +16,8 @@
5 Local search engine flag (TRUE / FALSE)
6 Default language code
7 Status [see status constants]
+
+ List generated: $date GMT
*/
// Mirror type constants