Dev machine Configuration:
WinXP SP2
Apache 2.0.55
PHP Version 4.4.2
mySQL 4.1.18
I get this:
Notice: Undefined index: team in C:\Program Files\Apache Group\Apache2\htdocs\new_schedule.php on line 5
Notice: Undefined index: submit in C:\Program Files\Apache Group\Apache2\htdocs\new_schedule.php on line 6
/******************************************************************************
Offending code:
$team = $_GET['team']; // offending line #5
$submit = $_GET['submit']; // offending line #6
******************************************************************************/
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Program Files\Apache Group\Apache2\htdocs\board\db\mysql.php on line 10
/******************************************************************************
Offending code:
function connect($dbhost="localhost", $dbuser, $dbpw, $dbname, $pconnect=0) {
if($pconnect) {
mysql_pconnect($dbhost, $dbuser, $dbpw);
} else {
mysql_connect($dbhost, $dbuser, $dbpw); // offending line #10
}
mysql_select_db($dbname);
}
******************************************************************************/
Why the "does not support authentication protocol requested" error? I don't understand it. This
EXACT same code has worked for years on PHP 4.4.1 and mySQL 4.0.25.