cvs: phpweb / bug-pwd-finder.php bugs.php

From: Date: Thu, 08 Mar 2001 03:41:47 +0000
Subject: cvs: phpweb / bug-pwd-finder.php bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4204@lists.php.net to get a copy of this message
jimw Wed Mar 7 19:41:47 2001 EDT Modified files: /phpweb bugs.php bug-pwd-finder.php Log: remove more explicit bugs.php.net references Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.83 phpweb/bugs.php:1.84 --- phpweb/bugs.php:1.83 Wed Mar 7 19:36:34 2001 +++ phpweb/bugs.php Wed Mar 7 19:41:47 2001 @@ -148,7 +148,7 @@ echo "</select></td></tr>\n"; echo "<tr><td colspan=3 align=right>Where the bug description contains:</td>\n"; echo "<td colspan=3><input type=text name=\"search_for\"></td></tr></form>\n"; - echo "<tr><td colspan=3 align=right><form method=GET action=\"$PHP_SELF\">\n"; + echo "<tr><td colspan=3 align=right><form method=\"GET\" action=\"$PHP_SELF\">\n"; echo "<input type='submit' value='Edit'> bug number:</td><td colspan=2><input type='text' name='id'></td>\n"; if (isset($MAGIC_COOKIE)) echo "<input type='hidden' name='edit' value='1'>\n"; @@ -688,7 +688,7 @@ echo "<td><a href=\"$PHP_SELF?id=$id&edit=2\"><font size=-1><tt>User Modify</tt></font></a> &nbsp; "; echo "<a href=\"$PHP_SELF?id=$id&edit=1\"><font size=-1><tt>Dev Modify</tt></font></a></td>"; } else { - echo "<form method=POST action=\"http://bugs.php.net$PHP_SELF?id=$id\">\n"; + echo "<form method=\"POST\" action=\"$PHP_SELF?id=$id\">\n"; if($edit==1) { echo "<input type=hidden name=modify value=\"Edit Bug\">\n"; } else { @@ -746,7 +746,7 @@ } echo "Password: <input type=password size=10 name=pw value=\"$pw\">\n"; echo "<input type=submit value=\"Commit Changes\">"; - echo ($edit == 2) ? " [<a href=\"http://bugs.php.net/bug-pwd-finder.php\">Lost your password?</a>]<br>\n" : "<br>\n"; + echo ($edit == 2) ? " [<a href=\"/bug-pwd-finder.php\">Lost your password?</a>]<br>\n" : "<br>\n"; if(!$user || !$pw) { echo "Remember my login/password: <input type=checkbox name=save>\n"; } @@ -799,7 +799,7 @@ <input type=hidden name=cmd value="Send bug report"> <p><strong>Please read the <a href="bugs-dos-and-donts.php">Dos & Don'ts</a> before submitting a bug report!</strong></p> -<p><strong>To report bugs in PHP 3.0, please go <a href="http://bugs.php.net/bugs-php3.php">here</a>.</strong></p> +<p><strong>To report bugs in PHP 3.0, please go <a href="/bugs-php3.php">here</a>.</strong></p> <table> <tr> @@ -844,7 +844,7 @@ <input type=text size=20 maxlength=20 name="passwd"></td> <td><font size="-2"> You may enter any password here. This password allows you to come back and modify your -submitted bug report at a later date. [<a href="http://bugs.php.net/bug-pwd-finder.php">Lost your password?</a>] +submitted bug report at a later date. [<a href="/bug-pwd-finder.php">Lost your password?</a>] </font> </td></tr> </table> @@ -858,7 +858,7 @@ <li>The list of modules you compiled PHP with (your configure line) <li>A copy of your php.ini file (if it might be relevant) <li>Any other information unique or specific to your setup - <li>A <a href="http://bugs.php.net/bugs-generating-backtrace.php">gdb backtrace</a>. + <li>A <a href="/bugs-generating-backtrace.php">gdb backtrace</a>. </ul> <center> <input type=submit value="Send bug report"> Index: phpweb/bug-pwd-finder.php diff -u phpweb/bug-pwd-finder.php:1.4 phpweb/bug-pwd-finder.php:1.5 --- phpweb/bug-pwd-finder.php:1.4 Wed Mar 7 16:17:34 2001 +++ phpweb/bug-pwd-finder.php Wed Mar 7 19:41:47 2001 @@ -3,20 +3,16 @@ /* See bugs.php for the table layout of bugdb. */ -if (strstr($MYSITE,"bugs.php.net")) { +if (strstr($MYSITE,"www.php.net")) { $dbhost="localhost"; $dbuser="nobody"; $dbpwd=""; -} else if (strstr($MYSITE,"il.php.net")) { - $dbhost="bugs.php.net"; - $dbuser="bourbon"; - $dbpwd=""; } else if (strstr($MYSITE,"localhost")) { $dbhost="localhost"; $dbuser="nobody"; $dbpwd=""; } else { - Header("Location: http://bugs.php.net"); + Header("Location: http://www.php.net/bug-pwd-finder.php"); exit; }

« previous php.mirrors (#4204) next »