Participants QWG Amsterdam Meeting 2008
$file = "$csvfile";
if ( file_exists($file) ) {
chmod($file,0664);
$handle = fopen($file,"r");
$i=1;
echo "
\n";
echo " | Name | Affiliation |
";
while (!feof($handle) ) {
$arrData=fgets($handle,4096);
$csvArr=explode(";",$arrData);
if ( $csvArr[0] == "\"datum\"" ) continue;
if ( $csvArr[0] == "" ) continue;
$ncsvArr=Array();
foreach ( $csvArr as $k => $v ) {
$ncsvArr[$k] = substr($v,1,strlen($v)-2);
}
echo "".$i++." | ";
echo "" . htmlentities($ncsvArr[2]) . " " . htmlentities($ncsvArr[3]) . " | ";
echo "" . htmlentities($ncsvArr[4]) . " | ";
echo "
\n";
}
echo "
\n";
fclose($handle);
} else {
$fh=fopen("$file","a");
fclose($fh);
echo "
CSV List $file Not Found\n";
}
?>
Comments to Physics Data Processing group.