com web/qa: Publish PFTT report (6): pftt_report.php
| From: | Matt Ficken | Date: | Thu, 20 Mar 2014 22:37:12 +0000 |
| Subject: | com web/qa: Publish PFTT report (6): pftt_report.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67253@lists.php.net to get a copy of this message | ||
Commit: 6a6e7db6c1a8c67bec729a38914ab22d29293343
Author: v-mafick@microsoft.com <v-mafick@microsoft.com> Thu, 20 Mar 2014 15:37:12
-0700
Parents: 92c41fca6691878b51d3aba336b99d4a996e5d91
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=6a6e7db6c1a8c67bec729a38914ab22d29293343
Log:
Publish PFTT report (6)
Changed paths:
M pftt_report.php
Diff:
diff --git a/pftt_report.php b/pftt_report.php
index 1aff791..b2e4323 100755
--- a/pftt_report.php
+++ b/pftt_report.php
@@ -100,6 +100,10 @@ $report_dir = dirname($report_file);
// ensure dir exists
mkdir($report_dir, 0644, TRUE);
+$fh = fopen($report_file, "w");
+fwrite($fh, "<html>hello</html>");
+fclose($fh);
+
// report_file is stored locally in a temporary file, move that file to the permanent location
move_uploaded_file($_FILES['report_file']['tmp_name'], $report_file);