Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (14 sloc) 0.479 kb
7282e2a @zoharbabin recording using jRecorder (flash based) is now added
authored
1 <?php
2
3 if(!isset($_REQUEST['filename']))
4 {
5 exit('No file');
6 }
7
8 $upload_path = dirname(__FILE__). '/';
9
10 $filename = $_REQUEST['filename'];
11
12 $fp = fopen($upload_path."/".$filename.".wav", "wb");
13
14 fwrite($fp, file_get_contents('php://input'));
15
16 fclose($fp);
17
3dca023 @zoharbabin updates kaltura
authored
18 // $commandString = 'ffmpeg -i watson.wav -y -ar 8000 -ab 16 -ac 1 watson-audio.wav >> log_file.log 2>&1 &';
19 // $command = exec($commandString);
7282e2a @zoharbabin recording using jRecorder (flash based) is now added
authored
20
21 exit('done');
22
23
24
25 ?>
Something went wrong with that request. Please try again.