ID: 20901 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: Win2K Server PHP Version: 4.2.3 New Comment:
This stays bogus as long as you're unable to provide us a SHORT and SELF-CONTAINED script that clearly shows the error. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 08:20:56] [EMAIL PROTECTED] Sniper, It can, and it does. If you hadn't been in such a hurry to discount the zipfile I sent you, many of these problems would now be dust. Evidently everything is useless to you. Less haste, more speed. ------------------------------------------------------------------------ [2002-12-09 07:49:04] [EMAIL PROTECTED] That script is really useless to us. And FYI, the used browser has ABSOLUTELY NOTHING to do with how long PHP runs some script. Bogus. ------------------------------------------------------------------------ [2002-12-09 07:43:04] [EMAIL PROTECTED] Try this one, it really takes ages: function verify_login($username, $password) { /* verify the username and password. if it is a valid login, return an array * with the username, firstname, lastname, and email address of the user */ $qid = db_query(" SELECT username, firstname, lastname, email, priv FROM users WHERE username = '$username' AND password = '" . md5($password) . "' "); return db_fetch_array($qid); } ------------------------------------------------------------------------ [2002-12-09 06:21:52] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. AFAIK, no browser is able to access MySQL, so some example code would be pleasant. ------------------------------------------------------------------------ [2002-12-09 06:04:06] [EMAIL PROTECTED] Querying MySQL takes an awfully long time from Netscape. I am running 4.08 and cannot comment about other versions. IE 5.5 does not display this problem. A clue to debugging this is that changing focus after the query brings the result back immediately. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20901&edit=1