blob: 81fb150898a1609ccb34cb376ea9751f5faea00f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
require('../library/SSRS/Report.php');
$options = array(
'username' => 'testing',
'password' => 'password'
);
$ssrs = new SSRS_Report('http://localhost/reportserver/', $options);
$result = $ssrs->loadReport('/Reports/Reference_Report');
$ssrs->setSessionId($result->executionInfo->ExecutionID);
$output = $ssrs->render('HTML4.0'); // PDF | XML | CSV
echo $output;
|