Check your access_log (or IIS equivalent -- if this is occurring on IIS then
it's got to be a php bug). I wasn't convinced that it was strictly a
browser issue (IE) when apache support laid blame there. However the
problem DOES go away by using an older version of apache, AND was not
reproducable by telnetting into port 80. Maybe it's a browser/php
interaction issue.
Try this:
telnet www.myserver.com 80
GET /whatevermyproblempageis.phtml
See in the log if it gets run twice
Check to see if the insert/update is run twice
The problem is not with mysql, since I have the exact issue within Sybase &
I've seen people have it with postgres.
Perhaps PHP is somehow internally redirecting the request so it runs twice.
My initial suspicion was it was a PHP bug, but like I say, it only occurs
with Apache 1.3.20, not on older 1.3.9.
Rob.
-----Original Message-----
From: John (*\*) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 5:53 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: Insert queries add TWO records to database
I'm not convinced as I have the same problem in Netscape.
More likely to be a PHP or MySQL configuration problem as the code is fine.
Or maybe IIS?
May try it on a different server.
Regards,
John Stoops
Software Engineer
_________________________________________
Neutralize (*\*)
Independent Online Marketing Services
T/F: +44 (0)1209 210910
E: [EMAIL PROTECTED]
U: http://www.neutralize.com
_________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this by persons or entities other
than the intended recipient is prohibited. If you receive this in error,
please contact the sender and delete the material from any computer.
The contents of an attachment to this e-mail may contain software viruses
which could damage your own computer system. While NUERA Limited has taken
every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software viruses.
You should carry out your own virus checks before opening the attachment.
-----Original Message-----
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2001 03:48
To: [EMAIL PROTECTED]
Subject: Re: Insert queries add TWO records to database
On Wed, 4 Jul 2001 21:22, you wrote:
I think I saw on the mysql list you had pinned this problem on IE?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Beam me up Scotty. This isn't the men's room.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php