cvs: php-master-web / forgot.php /entry cvs-account.php event.php user-note.php /fetch countries.php cvsforwarding.php cvspasswd.php cvsusers.php
events.php mirrordns.php mirrors.php stats.php user-notes.php /include alert_lib.inc /manage event.php mirrors.php user-notes.php users.php
| From: | James Cox | Date: | Sat, 06 Sep 2003 05:09:09 +0000 |
| Subject: | cvs: php-master-web / forgot.php /entry cvs-account.php event.php user-note.php /fetch countries.php cvsforwarding.php cvspasswd.php cvsusers.php events.php mirrordns.php mirrors.php stats.php user-notes.php /include alert_lib.inc /manage event.php mirrors.php user-notes.php users.php |
||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20805@lists.php.net to get a copy of this message | ||
imajes Sat Sep 6 01:09:09 2003 EDT
Modified files:
/php-master-web forgot.php
/php-master-web/entry cvs-account.php event.php user-note.php
/php-master-web/fetch countries.php cvsforwarding.php cvspasswd.php
cvsusers.php events.php mirrordns.php
mirrors.php stats.php user-notes.php
/php-master-web/include alert_lib.inc
/php-master-web/manage event.php mirrors.php user-notes.php
users.php
Log:
's/pconnect/connect/g'
Index: php-master-web/forgot.php diff -u php-master-web/forgot.php:1.2 php-master-web/forgot.php:1.3 --- php-master-web/forgot.php:1.2 Sun Apr 21 13:58:50 2002 +++ php-master-web/forgot.php Sat Sep 6 01:09:04 2003 @@ -13,7 +13,7 @@ head("forgotten password"); -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-master-web/entry/cvs-account.php diff -u php-master-web/entry/cvs-account.php:1.10 php-master-web/entry/cvs-account.php:1.11 --- php-master-web/entry/cvs-account.php:1.10 Thu Mar 13 10:24:28 2003 +++ php-master-web/entry/cvs-account.php Sat Sep 6 01:09:06 2003 @@ -19,7 +19,7 @@ if (in_array($username,array('nse','roys','php','foo','group','core','webmaster','mysql','web','aardvark','zygote','jag','sites','er'))) die("that username is not available"); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/entry/event.php diff -u php-master-web/entry/event.php:1.7 php-master-web/entry/event.php:1.8 --- php-master-web/entry/event.php:1.7 Sun Aug 10 06:56:40 2003 +++ php-master-web/entry/event.php Sat Sep 6 01:09:06 2003 @@ -21,7 +21,7 @@ if (empty($sdesc) || empty($email) || empty($country) || empty($category) || empty($type) || empty($url)) die("missing some parameters."); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/entry/user-note.php diff -u php-master-web/entry/user-note.php:1.19 php-master-web/entry/user-note.php:1.20 --- php-master-web/entry/user-note.php:1.19 Thu Sep 4 10:11:37 2003 +++ php-master-web/entry/user-note.php Sat Sep 6 01:09:06 2003 @@ -8,7 +8,7 @@ if (!isset($user) || empty($note) || empty($sect)) die("missing some parameters."); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/fetch/countries.php diff -u php-master-web/fetch/countries.php:1.4 php-master-web/fetch/countries.php:1.5 --- php-master-web/fetch/countries.php:1.4 Thu May 1 12:16:14 2003 +++ php-master-web/fetch/countries.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT * FROM country ORDER BY name"); if ($res) { Index: php-master-web/fetch/cvsforwarding.php diff -u php-master-web/fetch/cvsforwarding.php:1.11 php-master-web/fetch/cvsforwarding.php:1.12 --- php-master-web/fetch/cvsforwarding.php:1.11 Sat Aug 23 03:19:54 2003 +++ php-master-web/fetch/cvsforwarding.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,email,spamprotect FROM users WHERE email != '' AND cvsaccess"); if ($res) { Index: php-master-web/fetch/cvspasswd.php diff -u php-master-web/fetch/cvspasswd.php:1.6 php-master-web/fetch/cvspasswd.php:1.7 --- php-master-web/fetch/cvspasswd.php:1.6 Sun Apr 21 13:58:50 2002 +++ php-master-web/fetch/cvspasswd.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,passwd FROM users WHERE passwd != '' AND cvsaccess"); if ($res) { Index: php-master-web/fetch/cvsusers.php diff -u php-master-web/fetch/cvsusers.php:1.5 php-master-web/fetch/cvsusers.php:1.6 --- php-master-web/fetch/cvsusers.php:1.5 Sun Apr 21 13:58:50 2002 +++ php-master-web/fetch/cvsusers.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,name,email FROM users WHERE cvsaccess"); if ($res) { Index: php-master-web/fetch/events.php diff -u php-master-web/fetch/events.php:1.9 php-master-web/fetch/events.php:1.10 --- php-master-web/fetch/events.php:1.9 Sun Jun 1 15:08:14 2003 +++ php-master-web/fetch/events.php Sat Sep 6 01:09:07 2003 @@ -4,7 +4,7 @@ #if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") # die("token not correct."); -@mysql_pconnect('localhost','nobody','') or exit; +@mysql_connect('localhost','nobody','') or exit; @mysql_select_db('php3') or exit; // Set default values Index: php-master-web/fetch/mirrordns.php diff -u php-master-web/fetch/mirrordns.php:1.6 php-master-web/fetch/mirrordns.php:1.7 --- php-master-web/fetch/mirrordns.php:1.6 Sat Dec 21 07:19:02 2002 +++ php-master-web/fetch/mirrordns.php Sat Sep 6 01:09:07 2003 @@ -15,7 +15,7 @@ } // Connect to local mysql database -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { // Select php3 database if (@mysql_select_db("php3")) { Index: php-master-web/fetch/mirrors.php diff -u php-master-web/fetch/mirrors.php:1.21 php-master-web/fetch/mirrors.php:1.22 --- php-master-web/fetch/mirrors.php:1.21 Thu May 1 12:13:05 2003 +++ php-master-web/fetch/mirrors.php Sat Sep 6 01:09:07 2003 @@ -40,7 +40,7 @@ } // Connect to local mysql database -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { // Select php3 database if (@mysql_select_db("php3")) { Index: php-master-web/fetch/stats.php diff -u php-master-web/fetch/stats.php:1.2 php-master-web/fetch/stats.php:1.3 --- php-master-web/fetch/stats.php:1.2 Sun May 12 22:48:06 2002 +++ php-master-web/fetch/stats.php Sat Sep 6 01:09:07 2003 @@ -6,7 +6,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { echo mysql_get_one("SELECT COUNT(*) FROM php3.note"), "\n"; echo mysql_get_one("SELECT COUNT(*) FROM phphosts.hosts"), "\n"; echo mysql_get_one("SELECT COUNT(*) FROM php3.bugdb"), "\n"; Index: php-master-web/fetch/user-notes.php diff -u php-master-web/fetch/user-notes.php:1.7 php-master-web/fetch/user-notes.php:1.8 --- php-master-web/fetch/user-notes.php:1.7 Mon Jul 14 04:48:52 2003 +++ php-master-web/fetch/user-notes.php Sat Sep 6 01:09:07 2003 @@ -4,7 +4,7 @@ if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") die("token not correct."); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or exit; @mysql_select_db("php3") or exit; Index: php-master-web/include/alert_lib.inc diff -u php-master-web/include/alert_lib.inc:1.2 php-master-web/include/alert_lib.inc:1.3 --- php-master-web/include/alert_lib.inc:1.2 Sun Apr 21 13:58:50 2002 +++ php-master-web/include/alert_lib.inc Sat Sep 6 01:09:08 2003 @@ -1,6 +1,6 @@ <?php -$alink = mysql_pconnect("localhost","nobody","") or die("failed to connect to database"); +$alink = mysql_connect("localhost","nobody","") or die("failed to connect to database"); @mysql_select_db("php3", $alink) or die("failed to select database"); /*{{{ show_alert_form */ Index: php-master-web/manage/event.php diff -u php-master-web/manage/event.php:1.8 php-master-web/manage/event.php:1.9 --- php-master-web/manage/event.php:1.8 Thu Aug 7 11:31:43 2003 +++ php-master-web/manage/event.php Sat Sep 6 01:09:09 2003 @@ -22,7 +22,7 @@ head("event administration"); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or die("unable to connect to database"); @mysql_select_db("php3"); Index: php-master-web/manage/mirrors.php diff -u php-master-web/manage/mirrors.php:1.80 php-master-web/manage/mirrors.php:1.81 --- php-master-web/manage/mirrors.php:1.80 Sun Aug 31 08:09:43 2003 +++ php-master-web/manage/mirrors.php Sat Sep 6 01:09:09 2003 @@ -7,7 +7,7 @@ head("mirror administration"); // Connect to database and select php3 db -mysql_pconnect("localhost","nobody","") +mysql_connect("localhost","nobody","") or die("unable to connect to database"); mysql_select_db("php3"); Index: php-master-web/manage/user-notes.php diff -u php-master-web/manage/user-notes.php:1.21 php-master-web/manage/user-notes.php:1.22 --- php-master-web/manage/user-notes.php:1.21 Mon May 19 18:13:29 2003 +++ php-master-web/manage/user-notes.php Sat Sep 6 01:09:09 2003 @@ -73,7 +73,7 @@ $action = $m[1]; $id = $m[2]; } -@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-master-web/manage/users.php diff -u php-master-web/manage/users.php:1.29 php-master-web/manage/users.php:1.30 --- php-master-web/manage/users.php:1.29 Sat May 3 12:47:17 2003 +++ php-master-web/manage/users.php Sat Sep 6 01:09:09 2003 @@ -14,7 +14,7 @@ head("user administration"); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or die("unable to connect to database"); @mysql_select_db("php3");
Index: php-master-web/forgot.php diff -u php-master-web/forgot.php:1.2 php-master-web/forgot.php:1.3 --- php-master-web/forgot.php:1.2 Sun Apr 21 13:58:50 2002 +++ php-master-web/forgot.php Sat Sep 6 01:09:04 2003 @@ -13,7 +13,7 @@ head("forgotten password"); -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-master-web/entry/cvs-account.php diff -u php-master-web/entry/cvs-account.php:1.10 php-master-web/entry/cvs-account.php:1.11 --- php-master-web/entry/cvs-account.php:1.10 Thu Mar 13 10:24:28 2003 +++ php-master-web/entry/cvs-account.php Sat Sep 6 01:09:06 2003 @@ -19,7 +19,7 @@ if (in_array($username,array('nse','roys','php','foo','group','core','webmaster','mysql','web','aardvark','zygote','jag','sites','er'))) die("that username is not available"); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/entry/event.php diff -u php-master-web/entry/event.php:1.7 php-master-web/entry/event.php:1.8 --- php-master-web/entry/event.php:1.7 Sun Aug 10 06:56:40 2003 +++ php-master-web/entry/event.php Sat Sep 6 01:09:06 2003 @@ -21,7 +21,7 @@ if (empty($sdesc) || empty($email) || empty($country) || empty($category) || empty($type) || empty($url)) die("missing some parameters."); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/entry/user-note.php diff -u php-master-web/entry/user-note.php:1.19 php-master-web/entry/user-note.php:1.20 --- php-master-web/entry/user-note.php:1.19 Thu Sep 4 10:11:37 2003 +++ php-master-web/entry/user-note.php Sat Sep 6 01:09:06 2003 @@ -8,7 +8,7 @@ if (!isset($user) || empty($note) || empty($sect)) die("missing some parameters."); -@mysql_pconnect("localhost","nobody", "") +@mysql_connect("localhost","nobody", "") or die("failed to connect to database"); @mysql_select_db("php3") or die("failed to select database"); Index: php-master-web/fetch/countries.php diff -u php-master-web/fetch/countries.php:1.4 php-master-web/fetch/countries.php:1.5 --- php-master-web/fetch/countries.php:1.4 Thu May 1 12:16:14 2003 +++ php-master-web/fetch/countries.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT * FROM country ORDER BY name"); if ($res) { Index: php-master-web/fetch/cvsforwarding.php diff -u php-master-web/fetch/cvsforwarding.php:1.11 php-master-web/fetch/cvsforwarding.php:1.12 --- php-master-web/fetch/cvsforwarding.php:1.11 Sat Aug 23 03:19:54 2003 +++ php-master-web/fetch/cvsforwarding.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,email,spamprotect FROM users WHERE email != '' AND cvsaccess"); if ($res) { Index: php-master-web/fetch/cvspasswd.php diff -u php-master-web/fetch/cvspasswd.php:1.6 php-master-web/fetch/cvspasswd.php:1.7 --- php-master-web/fetch/cvspasswd.php:1.6 Sun Apr 21 13:58:50 2002 +++ php-master-web/fetch/cvspasswd.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,passwd FROM users WHERE passwd != '' AND cvsaccess"); if ($res) { Index: php-master-web/fetch/cvsusers.php diff -u php-master-web/fetch/cvsusers.php:1.5 php-master-web/fetch/cvsusers.php:1.6 --- php-master-web/fetch/cvsusers.php:1.5 Sun Apr 21 13:58:50 2002 +++ php-master-web/fetch/cvsusers.php Sat Sep 6 01:09:07 2003 @@ -5,7 +5,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT username,name,email FROM users WHERE cvsaccess"); if ($res) { Index: php-master-web/fetch/events.php diff -u php-master-web/fetch/events.php:1.9 php-master-web/fetch/events.php:1.10 --- php-master-web/fetch/events.php:1.9 Sun Jun 1 15:08:14 2003 +++ php-master-web/fetch/events.php Sat Sep 6 01:09:07 2003 @@ -4,7 +4,7 @@ #if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") # die("token not correct."); -@mysql_pconnect('localhost','nobody','') or exit; +@mysql_connect('localhost','nobody','') or exit; @mysql_select_db('php3') or exit; // Set default values Index: php-master-web/fetch/mirrordns.php diff -u php-master-web/fetch/mirrordns.php:1.6 php-master-web/fetch/mirrordns.php:1.7 --- php-master-web/fetch/mirrordns.php:1.6 Sat Dec 21 07:19:02 2002 +++ php-master-web/fetch/mirrordns.php Sat Sep 6 01:09:07 2003 @@ -15,7 +15,7 @@ } // Connect to local mysql database -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { // Select php3 database if (@mysql_select_db("php3")) { Index: php-master-web/fetch/mirrors.php diff -u php-master-web/fetch/mirrors.php:1.21 php-master-web/fetch/mirrors.php:1.22 --- php-master-web/fetch/mirrors.php:1.21 Thu May 1 12:13:05 2003 +++ php-master-web/fetch/mirrors.php Sat Sep 6 01:09:07 2003 @@ -40,7 +40,7 @@ } // Connect to local mysql database -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { // Select php3 database if (@mysql_select_db("php3")) { Index: php-master-web/fetch/stats.php diff -u php-master-web/fetch/stats.php:1.2 php-master-web/fetch/stats.php:1.3 --- php-master-web/fetch/stats.php:1.2 Sun May 12 22:48:06 2002 +++ php-master-web/fetch/stats.php Sat Sep 6 01:09:07 2003 @@ -6,7 +6,7 @@ die("token not correct."); // Connect and generate the list from the DB -if (@mysql_pconnect("localhost","nobody","")) { +if (@mysql_connect("localhost","nobody","")) { echo mysql_get_one("SELECT COUNT(*) FROM php3.note"), "\n"; echo mysql_get_one("SELECT COUNT(*) FROM phphosts.hosts"), "\n"; echo mysql_get_one("SELECT COUNT(*) FROM php3.bugdb"), "\n"; Index: php-master-web/fetch/user-notes.php diff -u php-master-web/fetch/user-notes.php:1.7 php-master-web/fetch/user-notes.php:1.8 --- php-master-web/fetch/user-notes.php:1.7 Mon Jul 14 04:48:52 2003 +++ php-master-web/fetch/user-notes.php Sat Sep 6 01:09:07 2003 @@ -4,7 +4,7 @@ if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") die("token not correct."); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or exit; @mysql_select_db("php3") or exit; Index: php-master-web/include/alert_lib.inc diff -u php-master-web/include/alert_lib.inc:1.2 php-master-web/include/alert_lib.inc:1.3 --- php-master-web/include/alert_lib.inc:1.2 Sun Apr 21 13:58:50 2002 +++ php-master-web/include/alert_lib.inc Sat Sep 6 01:09:08 2003 @@ -1,6 +1,6 @@ <?php -$alink = mysql_pconnect("localhost","nobody","") or die("failed to connect to database"); +$alink = mysql_connect("localhost","nobody","") or die("failed to connect to database"); @mysql_select_db("php3", $alink) or die("failed to select database"); /*{{{ show_alert_form */ Index: php-master-web/manage/event.php diff -u php-master-web/manage/event.php:1.8 php-master-web/manage/event.php:1.9 --- php-master-web/manage/event.php:1.8 Thu Aug 7 11:31:43 2003 +++ php-master-web/manage/event.php Sat Sep 6 01:09:09 2003 @@ -22,7 +22,7 @@ head("event administration"); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or die("unable to connect to database"); @mysql_select_db("php3"); Index: php-master-web/manage/mirrors.php diff -u php-master-web/manage/mirrors.php:1.80 php-master-web/manage/mirrors.php:1.81 --- php-master-web/manage/mirrors.php:1.80 Sun Aug 31 08:09:43 2003 +++ php-master-web/manage/mirrors.php Sat Sep 6 01:09:09 2003 @@ -7,7 +7,7 @@ head("mirror administration"); // Connect to database and select php3 db -mysql_pconnect("localhost","nobody","") +mysql_connect("localhost","nobody","") or die("unable to connect to database"); mysql_select_db("php3"); Index: php-master-web/manage/user-notes.php diff -u php-master-web/manage/user-notes.php:1.21 php-master-web/manage/user-notes.php:1.22 --- php-master-web/manage/user-notes.php:1.21 Mon May 19 18:13:29 2003 +++ php-master-web/manage/user-notes.php Sat Sep 6 01:09:09 2003 @@ -73,7 +73,7 @@ $action = $m[1]; $id = $m[2]; } -@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-master-web/manage/users.php diff -u php-master-web/manage/users.php:1.29 php-master-web/manage/users.php:1.30 --- php-master-web/manage/users.php:1.29 Sat May 3 12:47:17 2003 +++ php-master-web/manage/users.php Sat Sep 6 01:09:09 2003 @@ -14,7 +14,7 @@ head("user administration"); -@mysql_pconnect("localhost","nobody","") +@mysql_connect("localhost","nobody","") or die("unable to connect to database"); @mysql_select_db("php3");