ID: 20901 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Performance problem Operating System: Win2K Server PHP Version: 4.2.3 New Comment:
Judd, in general: please read and comply with the instructions mentioned in 'How to report'. Saying "I'm seeing this.." doesn't help us, unless you're going to buy tickets and have us fly over. The reason that an example script should be self-contained, is quite simple: we're not going to invest time into figuring out where $foo, which isn't there in the example script possibly came from. Example scripts should be short, simply, because: 1) Long scripts don't fit in here well 2) It shows that you've taken adequate steps to identify if this IS a bug, or an error in your own scripting. The bug database is for resolving bugs in PHP, not your own scripts or scripts/packages you've downloaded. Bug #20906 is yet again a clear example and this will create a negative bias against you. The attitude doesn't help either. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 08:26:23] [EMAIL PROTECTED] This stays bogus as long as you're unable to provide us a SHORT and SELF-CONTAINED script that clearly shows the error. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20901 -- Edit this bug report at http://bugs.php.net/?id=20901&edit=1