blob: 13458d2fbd139b7942b7585dd117f301b5ec56a6 [file] [log] [blame]
* Created on Mar 31, 2005
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
// Special marker for start of result, used to catch a truncated
// line.
$line = "\"$$$\",\"" . date("Y-m-d G:i:s" ) . "\"";
//echo print_r( $_POST );
foreach ( $fields as $field )
$line .= ",\"" . $_POST[ $field ] . "\"";
$line .= "\n";
//print "<br>\nLine: $line<br>\n";
$f = fopen( "../writable/results.csv", "a+t" );
if ( ! $f )
echo "Could not open results file!\n";
flock( $f, LOCK_EX );
// In case some other script has appended to the file while we were
// waiting on flock()...
fwrite( $f,$line );
//flock( $f, LOCK_UN );
// fclose will remove all locks automatically
fclose( $f );
<title>Eclipse Survey</title>
<link rel="stylesheet" href="../style/style.css" type="text/css">
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" class="banner-area" >
<td BGCOLOR="black" width="116" >
<a href="">
<img src="/birt/images/EclipseBannerPic.jpg" border="0">
<td WIDTH="637">
<img SRC="/birt/images/gradient.jpg" BORDER=0 height="53" width=282>
<td WIDTH="250" align="right" valign="center">
<a href="/birt" class="birt">
<!-- Temporary BIRT header -->
<span style="color: #E8E8FF; font-family: arial, sans-serif;
font-size: 20px; font-weight: bold; padding-right: 20pt">
<table border=0 width=100%>
<p class=indextop>Reporting Survey</p>
<td style="text-align: right">
<img src="/birt/images/Idea.jpg">
<table border=0>
<b><i>Results saved!</i></b>
Thanks again for taking the survey. We invite you to visit the
<a href="" target="_top">BIRT Project page</a>.
Back to <a href="" target="_top">eclipse</a>.