#10599 [Com]: background attribute in the body tag causes a double insert
ID: 10599 Comment by: hardcore-lesbian22 at hotmail dot com Reported By: gkm at duke dot edu Status: Closed Bug Type: MySQL related Operating System: linux PHP Version: 4.0.4pl1 New Comment: a href=http://l-shower-menstrual.da.ruhardcore lesbian/a Previous Comments: [2003-04-02 09:52:43] heptane at hotmail dot com Wow wow , guy you just made me fly again (lol)... My Mysql_query was acting weird, inserting double records in my table :) i was stuck because of this f*** error in my html code and i've lost 1 day searching over the internet to understand what was wrong , looking around because i just re-installed my apache/mysql server (abria MERLIN) and noticed that bug. Thx a lot for this :) Stef ( France) - www.e-planete.com [2002-09-20 04:31:54] php at unreelpro dot com 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. [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 #FF, it tries to access http://www.dukemarket.com/bug.php#FF 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] gkm at duke dot edu 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=10599edit=1
#10599 [Com]: background attribute in the body tag causes a double insert
ID: 10599 Comment by: heptane at hotmail dot com Reported By: gkm at duke dot edu Status: Closed Bug Type: MySQL related Operating System: linux PHP Version: 4.0.4pl1 New Comment: Wow wow , guy you just made me fly again (lol)... My Mysql_query was acting weird, inserting double records in my table :) i was stuck because of this f*** error in my html code and i've lost 1 day searching over the internet to understand what was wrong , looking around because i just re-installed my apache/mysql server (abria MERLIN) and noticed that bug. Thx a lot for this :) Stef ( France) - www.e-planete.com Previous Comments: [2002-09-20 04:31:54] php at unreelpro dot com 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. [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 #FF, it tries to access http://www.dukemarket.com/bug.php#FF 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] gkm at duke dot edu 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=10599edit=1