#29346 [NEW]: Script running twice with background

From: Date: Fri, 23 Jul 2004 04:20:35 +0000
Subject: #29346 [NEW]: Script running twice with background
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63398@lists.php.net to get a copy of this message
From: jepatte at gwm dot sc dot edu Operating system: UNIX/Apache PHP version: 4.3.9 PHP Bug Type: Scripting Engine problem Bug description: Script running twice with background Description: ------------ If you run a php file with no php code in it, only html, but with background="#" in a <td> tag, the file gets executed twice. Reproduce code: --------------- <?php //NO PHP CODE AT ALL ?> <html> <body> <table> <tr> <td background="#">Hello World</td> </tr> </table> </body> </html> Expected result: ---------------- After running this, check your log files, you will notice that the script was run twice. I first noticed this because I had script that emailed me at the beginning and I was getting 2 separate emails. I narrowed it all the way down to the background="#". Please don't respond by asking why am I using background="#" (this is for NS 4.7 issues), but that is beside the point. Is there something that the Zend engine sees with this and processes the script twice? -- Edit bug report at http://bugs.php.net/?id=29346&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29346&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29346&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29346&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29346&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29346&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29346&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29346&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29346&r=support Expected behavior: http://bugs.php.net/fix.php?id=29346&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29346&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29346&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29346&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29346&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29346&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29346&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29346&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29346&r=float

« previous php.bugs (#63398) next »