web/tagging/savetag.php
author clebeaupin
Wed, 14 Apr 2010 19:32:52 +0200
changeset 56 a0ac75dbce2e
parent 2 65157edaee3e
permissions -rw-r--r--
Update tmpl

<?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");
?>