|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-11 03:48 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 13:58 UTC] jani@php.net
[2009-03-11 15:31 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 15:38 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 15:40 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 16:05 UTC] scottmac@php.net
[2009-03-11 16:11 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 16:17 UTC] scottmac@php.net
[2009-03-11 16:21 UTC] matthew dot scott dot day at gmail dot com
[2009-03-11 17:29 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 12:00:02 2025 UTC |
Description: ------------ While outputting rss tags directly to the browser, the php script executes twice. Reproduce code: --------------- <?php header("Content-type: application/xhtml+xml"); ?> <rss version="2.0"> <SomeData>some stuff here</SomeData> </rss> <?php $fname = '/tmp/'.microtime().'.txt'; file_put_contents($fname, "2 files will be created when you run this code once"); ?> Expected result: ---------------- I expect only 1 file to be created in /tmp/ Actual result: -------------- 2 files are created in /tmp/