ID: 10599 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: MySQL related Operating System: linux PHP Version: 4.0.4pl1 New Comment:
although the link is dead, from zeev's response one can gather that gkm had a script that was double inserting into a db because he mistakenly put a color code in the background tag. this serves as a good warning not to have a misformed background attribute in your body tag. i found that just an empty background attribute (background="") caused a script to run twice (maybe calling itself?). this caused db operations to be performed twice. Previous Comments: ------------------------------------------------------------------------ [2001-05-06 13:24:46] [EMAIL PROTECTED] Actually, it's a bug in your HTML (although you did confuse me for a few minutes...) The attribute you're looking for is bgcolor; background loads a background image, and expects a URL argument. When you feed it with #FFFFFF, it tries to access http://www.dukemarket.com/bug.php#FFFFFF to load it as a background image, access the page again, and causes a second insert. It was a good challenge though :) ------------------------------------------------------------------------ [2001-05-02 03:45:48] [EMAIL PROTECTED] I have documented the problem at <a href="http://www.dukemarket.com/bug.php">http://www.dukemarket.com/bug.php</a>. If you have any questions, email me at <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10599&edit=1