cvs: php-bugs-web / bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php

From: Date: Thu, 05 Aug 2004 13:55:44 +0000
Subject: cvs: php-bugs-web / bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25695@lists.php.net to get a copy of this message
derick Thu Aug 5 09:55:44 2004 EDT Modified files: /php-bugs-web bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php Log: - Seperate master db and php bugs db. http://cvs.php.net/diff.php/php-bugs-web/bug-pwd-finder.php?r1=1.10&r2=1.11&ty=u Index: php-bugs-web/bug-pwd-finder.php diff -u php-bugs-web/bug-pwd-finder.php:1.10 php-bugs-web/bug-pwd-finder.php:1.11 --- php-bugs-web/bug-pwd-finder.php:1.10 Thu Jan 22 22:05:28 2004 +++ php-bugs-web/bug-pwd-finder.php Thu Aug 5 09:55:44 2004 @@ -8,7 +8,7 @@ mysql_connect ("localhost","nobody","") or die("Unable to connect to SQL server. Please try again later."); - mysql_select_db ("php3"); + mysql_select_db ("phpbugdb"); // Clean up the bug id $bug_id = ereg_replace ("[^0-9]+", "", $bug_id); http://cvs.php.net/diff.php/php-bugs-web/bug.php?r1=1.65&r2=1.66&ty=u Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.65 php-bugs-web/bug.php:1.66 --- php-bugs-web/bug.php:1.65 Tue Jul 20 12:06:53 2004 +++ php-bugs-web/bug.php Thu Aug 5 09:55:44 2004 @@ -24,7 +24,7 @@ @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server."); -@mysql_select_db("php3"); +@mysql_select_db("phpbugdb"); # fetch info about the bug into $bug $query = "SELECT id,bug_type,email,passwd,sdesc,ldesc," http://cvs.php.net/diff.php/php-bugs-web/bugstats.php?r1=1.24&r2=1.25&ty=u Index: php-bugs-web/bugstats.php diff -u php-bugs-web/bugstats.php:1.24 php-bugs-web/bugstats.php:1.25 --- php-bugs-web/bugstats.php:1.24 Thu May 20 17:31:34 2004 +++ php-bugs-web/bugstats.php Thu Aug 5 09:55:44 2004 @@ -6,7 +6,7 @@ @mysql_connect("localhost","nobody","") or die("unable to connect to database"); -@mysql_select_db("php3") +@mysql_select_db("phpbugdb") or die("unable to select database"); $query = "SELECT status,bug_type,email,php_version,php_os FROM bugdb"; http://cvs.php.net/diff.php/php-bugs-web/fix.php?r1=1.17&r2=1.18&ty=u Index: php-bugs-web/fix.php diff -u php-bugs-web/fix.php:1.17 php-bugs-web/fix.php:1.18 --- php-bugs-web/fix.php:1.17 Mon Feb 9 08:23:47 2004 +++ php-bugs-web/fix.php Thu Aug 5 09:55:44 2004 @@ -72,7 +72,7 @@ @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server."); -@mysql_select_db("php3"); +@mysql_select_db("phpbugdb"); # fetch info about the bug into $bug $query = "SELECT id,bug_type,email,passwd,sdesc,ldesc," http://cvs.php.net/diff.php/php-bugs-web/lbugs.php?r1=1.13&r2=1.14&ty=u Index: php-bugs-web/lbugs.php diff -u php-bugs-web/lbugs.php:1.13 php-bugs-web/lbugs.php:1.14 --- php-bugs-web/lbugs.php:1.13 Mon Feb 9 11:28:21 2004 +++ php-bugs-web/lbugs.php Thu Aug 5 09:55:44 2004 @@ -2,7 +2,7 @@ mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server\n"); -mysql_select_db("php3"); +mysql_select_db("phpbugdb"); if ($id) { $result = mysql_query("SELECT id,bug_type,email,sdesc,ldesc,php_version,php_os,status,ts1,assign FROM bugdb WHERE id=$id"); http://cvs.php.net/diff.php/php-bugs-web/lstats.php?r1=1.16&r2=1.17&ty=u Index: php-bugs-web/lstats.php diff -u php-bugs-web/lstats.php:1.16 php-bugs-web/lstats.php:1.17 --- php-bugs-web/lstats.php:1.16 Thu Jan 22 22:05:28 2004 +++ php-bugs-web/lstats.php Thu Aug 5 09:55:44 2004 @@ -53,7 +53,7 @@ } mysql_connect("localhost","nobody",""); -mysql_select_db("php3"); +mysql_select_db("phpbugdb"); if (isset($per_category)) { include ('bugtypes.inc'); http://cvs.php.net/diff.php/php-bugs-web/report.php?r1=1.53&r2=1.54&ty=u Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.53 php-bugs-web/report.php:1.54 --- php-bugs-web/report.php:1.53 Sat Apr 10 06:57:28 2004 +++ php-bugs-web/report.php Thu Aug 5 09:55:44 2004 @@ -19,7 +19,7 @@ @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server."); -@mysql_select_db("php3"); +@mysql_select_db("phpbugdb"); $errors = array(); if ($in) { http://cvs.php.net/diff.php/php-bugs-web/search.php?r1=1.58&r2=1.59&ty=u Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.58 php-bugs-web/search.php:1.59 --- php-bugs-web/search.php:1.58 Wed Jul 14 09:41:06 2004 +++ php-bugs-web/search.php Thu Aug 5 09:55:44 2004 @@ -21,7 +21,7 @@ if (isset($cmd) && $cmd == "display") { @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server."); - @mysql_select_db("php3"); + @mysql_select_db("phpbugdb"); $mysql4 = version_compare(mysql_get_server_info(), "4.0.0", "ge"); http://cvs.php.net/diff.php/php-bugs-web/vote.php?r1=1.9&r2=1.10&ty=u Index: php-bugs-web/vote.php diff -u php-bugs-web/vote.php:1.9 php-bugs-web/vote.php:1.10 --- php-bugs-web/vote.php:1.9 Thu Jan 22 22:05:28 2004 +++ php-bugs-web/vote.php Thu Aug 5 09:55:44 2004 @@ -19,7 +19,7 @@ @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server."); -@mysql_select_db("php3"); +@mysql_select_db("phpbugdb"); $ip = ip2long($HTTP_X_FORWARDED_FOR ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR); // TODO: check if ip address has been banned. hopefully this will

« previous php.mirrors (#25695) next »