php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29346 Script running twice with background
Submitted: 2004-07-23 06:20 UTC Modified: 2004-07-29 15:58 UTC
From: jepatte at gwm dot sc dot edu Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.9 OS: UNIX/Apache
Private report: No CVE-ID: None
 [2004-07-23 06:20 UTC] jepatte at gwm dot sc dot edu
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? 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-29 15:58 UTC] tony2001@php.net
That's not a PHP issue - check your third-party software like firewall, proxy, browser etc. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 14 10:00:01 2025 UTC