My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
<link HREF="xcstyle.css" REL="stylesheet" TYPE="text/css">
</head>
<body>
<div id="container">
<div id="vhead"><h1>airScore admin</h1></div>
<?php
require 'authorisation.php';

$comPk = intval($_REQUEST['comPk']);
$tasPk = intval($_REQUEST['tasPk']);
adminbar($comPk);

echo "<p><h2>Bulk Track Submission ($tasPk)</h2></p>";

auth('system');
$link = db_connect();

if (addslashes($_REQUEST['foo']) == 'Send Tracklog')
{
$copyname = tempnam("/var/tmp/", "Task_");
copy($_FILES['userfile']['tmp_name'], $copyname);
chmod($copyname, 0644);

$tempnm = $_FILES['userfile']['tmp_name'];

$out = '';
$retv = 0;
exec(BINDIR . "bulk_igc_reader.pl $tasPk $tempnm", $out, $retv);

echo $out;
}

echo "<b>Done</b><br>";
?>
</div>
</body>
</html>

Show details Hide details

Change log

r82 by geoff.wong on Oct 30, 2009   Diff
Bunch of updates. Smoothed scoring
algorithm for scalps.
Go to: 
Project members, sign in to write a code review

Older revisions

r52 by geoff.wong on Feb 25, 2009   Diff
Removed stupid constants and replaced
with a define.
r4 by geoff.wong on Jan 22, 2008   Diff
Various naming updates, makefile
fixed.
r3 by geoff.wong on Jan 22, 2008   Diff
Naming updates.
All revisions of this file

File info

Size: 781 bytes, 40 lines
Hosted by Google Code