cvs: php-bugs-web / bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php /rss bug.php
| From: | Jani Taskinen | Date: | Mon, 08 Dec 2003 16:57:04 +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 /rss bug.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-22424@lists.php.net to get a copy of this message | ||
sniper Mon Dec 8 11:57:04 2003 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
/php-bugs-web/rss bug.php
Log:
Remove evil pconnect
Index: php-bugs-web/bug-pwd-finder.php
diff -u php-bugs-web/bug-pwd-finder.php:1.6 php-bugs-web/bug-pwd-finder.php:1.7
--- php-bugs-web/bug-pwd-finder.php:1.6 Tue Mar 4 17:31:00 2003
+++ php-bugs-web/bug-pwd-finder.php Mon Dec 8 11:56:57 2003
@@ -5,7 +5,7 @@
if ($bug_id) {
- mysql_pconnect ("localhost","nobody","")
+ mysql_connect ("localhost","nobody","")
or die("Unable to connect to SQL server. Please try again later.");
mysql_select_db ("php3");
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.53 php-bugs-web/bug.php:1.54
--- php-bugs-web/bug.php:1.53 Thu Oct 16 23:01:29 2003
+++ php-bugs-web/bug.php Mon Dec 8 11:56:57 2003
@@ -22,7 +22,7 @@
list($user,$pw) = explode(":", base64_decode($MAGIC_COOKIE));
}
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");
Index: php-bugs-web/bugstats.php
diff -u php-bugs-web/bugstats.php:1.17 php-bugs-web/bugstats.php:1.18
--- php-bugs-web/bugstats.php:1.17 Thu Aug 14 05:46:03 2003
+++ php-bugs-web/bugstats.php Mon Dec 8 11:56:57 2003
@@ -4,7 +4,7 @@
commonHeader("Statistics");
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("unable to connect to database");
@mysql_select_db("php3")
or die("unable to select database");
Index: php-bugs-web/fix.php
diff -u php-bugs-web/fix.php:1.10 php-bugs-web/fix.php:1.11
--- php-bugs-web/fix.php:1.10 Mon Jun 30 13:55:45 2003
+++ php-bugs-web/fix.php Mon Dec 8 11:56:57 2003
@@ -70,7 +70,7 @@
exit;
}
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");
Index: php-bugs-web/lbugs.php
diff -u php-bugs-web/lbugs.php:1.7 php-bugs-web/lbugs.php:1.8
--- php-bugs-web/lbugs.php:1.7 Sun Apr 21 13:58:03 2002
+++ php-bugs-web/lbugs.php Mon Dec 8 11:56:57 2003
@@ -1,6 +1,6 @@
<?php /* vim: set noet ts=4 sw=4: : */
-mysql_pconnect("localhost","nobody","")
+mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server\n");
mysql_select_db("php3");
Index: php-bugs-web/lstats.php
diff -u php-bugs-web/lstats.php:1.11 php-bugs-web/lstats.php:1.12
--- php-bugs-web/lstats.php:1.11 Tue Aug 12 08:35:34 2003
+++ php-bugs-web/lstats.php Mon Dec 8 11:56:57 2003
@@ -52,7 +52,7 @@
echo "<h3>Bug stats for PHP $phpver:</h3>\n<pre>\n";
}
-mysql_pconnect("localhost","nobody","");
+mysql_connect("localhost","nobody","");
mysql_select_db("php3");
if (isset($per_category)) {
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.44 php-bugs-web/report.php:1.45
--- php-bugs-web/report.php:1.44 Tue Oct 28 17:09:45 2003
+++ php-bugs-web/report.php Mon Dec 8 11:56:57 2003
@@ -17,7 +17,7 @@
$mail_bugs_to = "php-bugs@lists.php.net";
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");
Index: php-bugs-web/search.php
diff -u php-bugs-web/search.php:1.52 php-bugs-web/search.php:1.53
--- php-bugs-web/search.php:1.52 Fri Aug 15 08:01:20 2003
+++ php-bugs-web/search.php Mon Dec 8 11:56:57 2003
@@ -19,7 +19,7 @@
define('BOOLEAN_SEARCH', @intval($boolean));
if (isset($cmd) && $cmd == "display") {
- @mysql_pconnect("localhost","nobody","")
+ @mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");
Index: php-bugs-web/vote.php
diff -u php-bugs-web/vote.php:1.5 php-bugs-web/vote.php:1.6
--- php-bugs-web/vote.php:1.5 Sun Apr 21 13:58:03 2002
+++ php-bugs-web/vote.php Mon Dec 8 11:56:57 2003
@@ -17,7 +17,7 @@
$samever = (int)$samever;
$sameos = (int)$sameos;
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");
Index: php-bugs-web/rss/bug.php
diff -u php-bugs-web/rss/bug.php:1.1 php-bugs-web/rss/bug.php:1.2
--- php-bugs-web/rss/bug.php:1.1 Wed Feb 12 19:48:14 2003
+++ php-bugs-web/rss/bug.php Mon Dec 8 11:57:04 2003
@@ -10,7 +10,7 @@
$id = (int)$_REQUEST['id'];
$format = $_REQUEST['format'];
-@mysql_pconnect("localhost","nobody","")
+@mysql_connect("localhost","nobody","")
or die("Unable to connect to SQL server.");
@mysql_select_db("php3");