PHP 4.0 Bug #3509: Post with mysql dosen't seem to work

From: Date: Thu, 17 Feb 2000 01:07:09 +0000
Subject: PHP 4.0 Bug #3509: Post with mysql dosen't seem to work
Groups: php.dev 
Request: Send a blank email to php-dev+get-15617@lists.php.net to get a copy of this message
From: zep@indigo.org Operating system: FreeBSD 3.4-RELEASE PHP version: 4.0 Beta 3 PHP Bug Type: MySQL related Bug description: Post with mysql dosen't seem to work I have a simple html for that collects a userid and a password. I then verify the user id/password using a seperate php script. In the php script I query a mysql database and search for a userid with a matching password. The very first line in my script checks to make sure the userid and password variables are set (before even touching the database). If not I output an error and kill the script. If they are set but incorrect (after checking against the database) I generate an error and log it into the db. The problem is if the userid and password are CORRECT, the variables are unset, like the post from the first html page never happened!! If I use an invalid userid and/or password then the variables remain intact and the script executes as expected (logging an error end exiting). I have never seen anything like it before. If I can provide more elaboration, please let me know. Matthew

« previous php.dev (#15617) next »