cvs: phpweb / bug-pwd-finder.php

From: Date: Tue, 17 Oct 2000 23:51:33 +0000
Subject: cvs: phpweb / bug-pwd-finder.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-2535@lists.php.net to get a copy of this message
zak Tue Oct 17 16:51:33 2000 EDT Modified files: /phpweb bug-pwd-finder.php Log: Fixed wrong variable name. Minor edit to messages displayed/sent to user. Index: phpweb/bug-pwd-finder.php diff -u phpweb/bug-pwd-finder.php:1.1 phpweb/bug-pwd-finder.php:1.2 --- phpweb/bug-pwd-finder.php:1.1 Tue Oct 17 16:43:08 2000 +++ phpweb/bug-pwd-finder.php Tue Oct 17 16:51:33 2000 @@ -1,5 +1,5 @@ <? -/* See the end of the script for the table layout. */ +/* See bugs.php for the table layout of bugdb. */ require("shared.inc"); if (strstr($MYSITE,"bugs.php.net")) { @@ -37,7 +37,7 @@ list ($email, $passwd) = mysql_fetch_row ($result); $passwd = stripslashes ($passwd); - mail ($email, "Password for bug report #$bug_id", "The password from bug report #$bug_id is $password.", "From: noreply@php.net") + mail ($email, "Password for bug report #$bug_id", "The password for bug report #$bug_id is $passwd.", "From: noreply@php.net") or die ("Sorry. Mail could not be sent at this time. Please try again later."); $msg = "The password for bug report #$bug_id has been sent to $email."; @@ -53,7 +53,7 @@ <p>If you need to modify a bug report that you submitted, but have forgotten what password you used, this utility can help you.</p> <p>Enter in the number of the bug report, press the Send button and the password will be mailed to the email address specified in the bug report.</p> -<?php $msg and print "<p>$msg</p>";?> +<?php $msg and print "<p><font color="#CC0000">$msg</font></p>";?> <p><b>Bug Report ID:</b> #<input type=text size=20 name="bug_id" /> <input type="submit" value="Send" /></p> </form>

« previous php.mirrors (#2535) next »