Author: nextgens
Date: 2006-12-17 16:42:50 +0000 (Sun, 17 Dec 2006)
New Revision: 11465

Modified:
   trunk/website/index.php
Log:
website: include the user-agent in the report

Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php     2006-12-17 16:34:46 UTC (rev 11464)
+++ trunk/website/index.php     2006-12-17 16:42:50 UTC (rev 11465)
@@ -11,7 +11,7 @@
                        echo "<body>404 error - broken link</body>";
                        $to="webmaster";
                        $subject="404 error";
-                       $content="\nA 404 error has occurred on the website : 
may you fix it ?\nFrom :  ".$_SERVER["HTTP_REFERER"]."\nTo : 
".$_SERVER["REQUEST_URI"]."\nAt : ".date("D M j Y g:i:s a T");
+                       $content="\nA 404 error has occurred on the website : 
may you fix it ?\nFrom :  ".$_SERVER["HTTP_REFERER"]."\nTo : 
".$_SERVER["REQUEST_URI"]."\nAt : ".date("D M j Y g:i:s a T"."\nUser-agent : 
".$_SERVER["HTTP_USER_AGENT"]);
                        @mail($to,$subject,$content,"svn-build");
                }
                die;


Reply via email to