php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3509 Post with mysql dosen't seem to work
Submitted: 2000-02-17 02:07 UTC Modified: 2000-06-09 12:10 UTC
From: zep at indigo dot org Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Beta 3 OS: FreeBSD 3.4-RELEASE
Private report: No CVE-ID: None
 [2000-02-17 02:07 UTC] zep at indigo dot org
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-18 11:25 UTC] mrobinso at cvs dot php dot net
Please provide as a brief a sample as possible that
will reproduce this error.
 [2000-06-09 12:10 UTC] stas at cvs dot php dot net
no user feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 17:01:34 2024 UTC