buildlogs: buildlogs2.sql/index.php Show client IP.

arekm arekm at pld-linux.org
Wed Feb 3 09:42:21 CET 2010


Author: arekm                        Date: Wed Feb  3 08:42:21 2010 GMT
Module: buildlogs                     Tag: HEAD
---- Log message:
Show client IP.

---- Files affected:
buildlogs/buildlogs2.sql:
   index.php (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: buildlogs/buildlogs2.sql/index.php
diff -u buildlogs/buildlogs2.sql/index.php:1.9 buildlogs/buildlogs2.sql/index.php:1.10
--- buildlogs/buildlogs2.sql/index.php:1.9	Mon Mar  2 12:10:33 2009
+++ buildlogs/buildlogs2.sql/index.php	Wed Feb  3 09:42:16 2010
@@ -464,6 +464,10 @@
 	}
 	echo "</small></div>";
 
+	echo "<div align=\"center\"><small>";
+		echo "Your IP: " . $_SERVER['REMOTE_ADDR'];
+	echo "</small></div>";
+
 	if (isset($dist) && isset($arch)) {
 	echo "<form action=\"index.php\" method=\"post\">";
 	echo "<input type=\"hidden\" name=\"dist\" value=\"$dist\" />";
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/buildlogs/buildlogs2.sql/index.php?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list