cvs: pearweb /public_html/bugs bug.php report.php search.php
| From: | Tomas V.V.Cox | Date: | Tue, 09 Sep 2003 01:25:12 +0000 |
| Subject: | cvs: pearweb /public_html/bugs bug.php report.php search.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12564@lists.php.net to get a copy of this message | ||
cox Mon Sep 8 21:25:12 2003 EDT
Modified files:
/pearweb/public_html/bugs bug.php report.php search.php
Log:
Use connect instead of pconnect
Index: pearweb/public_html/bugs/bug.php
diff -u pearweb/public_html/bugs/bug.php:1.1 pearweb/public_html/bugs/bug.php:1.2
--- pearweb/public_html/bugs/bug.php:1.1 Mon Sep 8 14:25:27 2003
+++ pearweb/public_html/bugs/bug.php Mon Sep 8 21:25:12 2003
@@ -23,7 +23,7 @@
list($user,$pw) = explode(":", base64_decode($MAGIC_COOKIE));
}
-@mysql_pconnect("localhost","pear","pear")
+@mysql_connect("localhost","pear","pear")
or die("Unable to connect to SQL server.");
@mysql_select_db("pear");
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.1 pearweb/public_html/bugs/report.php:1.2
--- pearweb/public_html/bugs/report.php:1.1 Mon Sep 8 14:25:27 2003
+++ pearweb/public_html/bugs/report.php Mon Sep 8 21:25:12 2003
@@ -19,7 +19,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: pearweb/public_html/bugs/search.php
diff -u pearweb/public_html/bugs/search.php:1.2 pearweb/public_html/bugs/search.php:1.3
--- pearweb/public_html/bugs/search.php:1.2 Mon Sep 8 15:02:23 2003
+++ pearweb/public_html/bugs/search.php Mon Sep 8 21:25:12 2003
@@ -23,7 +23,7 @@
define('BOOLEAN_SEARCH', @intval($boolean));
if (isset($cmd) && $cmd == "display") {
- @mysql_pconnect("localhost","pear","pear")
+ @mysql_connect("localhost","pear","pear")
or die("Unable to connect to SQL server.");
@mysql_select_db("pear");