Re: [PHP] Re: Working under Apache 1.3 but not Under IIS (Problem Resolved But its too Slow)...

2002-07-09 Thread David Otton
On Tue, 9 Jul 2002 16:31:50 -0230, you wrote: http://www.coop.mun.ca/verification.php Try and Type in any Name... As it should simply Step through the Database not find it and Respit the Page... However this does not happn... Please Help... if (function_exists(odbc_fetch_array))

Re: [PHP] Re: Working under Apache 1.3 but not Under IIS (Problem Resolved But its too Slow)...

2002-07-09 Thread Miles Thompson
Index your database on the name and password fields and issue this query Select count(*) where name = '$namevar' and password = '$passvar' If count 0 you have a hit, proceed with rest of authentication, else send appropriate error msg. Whatever you do, DON'T make sequential searches through a