Re: [PHP] PhP / MySQL problem



On Wed, August 29, 2007 2:03 pm, debussy007 wrote:
I created a form asking username, password, country, etc.
On the submit of this form I make a sql connection and update the
database,
add the user.

The problem is that whenever the field 'password' is filled in,
"it" (I don't know what) is asking to confirm the change of the
password.

I made a printscreen to clarify :

http://matthew16.free.fr/sql.jpg

This is what I get when I try to submit the form and I filled in field
password.
The users displayed in the pop-up are the MySQL users.

The php/sql code is the following :

mysql_select_db("mydb", $link) or die(mysql_error());
$query =
"INSERT INTO members
(username,password,date_of_birth,e_mail,country)
VALUES ('".
$_POST['username']."','".
$_POST['password']."','".
$_POST['dateofbirth']."','".
$_POST['email']."','".
$_POST['country']."')";
$result = mysql_query($query, $link) or die($query . " - " .
mysql_error());

I believe that browser is configured to "remember" passwords (BAD
IDEA!!!) and is asking you to confirm the change for its local memory.

I am 100% certain that whatever it is, it ain't PHP doing it. :-)

--
Please vote for this great band:
http://acl.mp3.com/feature/soundandjury/?band=COMPANY-OF-THIEVES

Requires email confirmation.
One vote per day per email limit.
Obvious ballot-stuffing will be revoked.
.



Relevant Pages

  • Re: [PHP] Pragmatically changing a "Record Number"
    ... The ID key field of a record should not have any explicit meaning. ... already off-topic for PHP, but they should have told you on the MySQL ... mistake can make a pig's breakfast of your entire database. ... One vote per day per email limit. ...
    (php.general)
  • Re: A Parable of Two Carpenters
    ... > wore interessted in politics would bother to vote. ... Put all public information in an ordered, searchable database. ... Money can be routet back to the account of the patient ... And, thus, you get more people involved in "local politics" by simply ...
    (alt.lang.asm)
  • Re: redirect if record already exists in database
    ... I'm using an access 2K database. ... Error Type: ... So, if an employee votes already, when they go to vote again, their ... > entire thing in a single query. ...
    (microsoft.public.inetserver.asp.general)
  • Re: [PHP] Internet Explorer Caching
    ... with the way my PHP program goes, I'm constantly changing the URL as I ... Requires email confirmation. ... One vote per day per email limit. ...
    (php.general)
  • Re: [PHP] How to show proper time to users from around the world
    ... than try to figure out what time-zone they are in this minute (cough ... Indiana cough). ... Requires email confirmation. ... One vote per day per email limit. ...
    (php.general)