web/tagging/savetag.php
author Boris de Laage <bdelaage@universcine.com>
Wed, 12 Aug 2009 17:34:15 +0200
changeset 2 65157edaee3e
permissions -rw-r--r--
Tagging proof of concept

<?php
$in=$_POST['timein'];
$out=$_POST['timeout'];
$tag=$_POST['usertag'];
$user=$_POST['username'];

$line = array($in,$out,$tag,$user);
$fp = fopen("tags.csv", "a");
fputcsv($fp,$line);
fclose($fp);

header("Location: index.html");
?>