/dev/adei/adei-blob

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/adei/adei-blob

« back to all changes in this revision

Viewing changes to docs/samples/data.php

  • Committer: Nicholas Tan Jerome
  • Date: 2015-01-30 10:47:32 UTC
  • Revision ID: nicholas.jerome@kit.edu-20150130104732-e37pofkoamnvqkf6
added identifier and logic to handle blob array data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
require("../../adei.php");
3
 
 
4
 
$_POST['props'] = "{\"db_server\": \"fastgen\", \"db_name\": \"10hz\", \"db_group\": \"0\", \"window\": \"1226546847-1226546848\", \"format\": \"csv\"}";
5
 
 
6
 
try {
7
 
    $req = new DATARequest();
8
 
    $export = $req->CreateExporter();
9
 
//    $export->SetCacheMode();
10
 
    $export->Export();
11
 
} catch(ADEIException $e) {
12
 
    echo "ERROR: " . $e->getInfo();
13
 
}
14
 
 
15
 
?>
 
 
b'\\ No newline at end of file'