File: sales.php

package info (click to toggle)
phpreports 0.4.9-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 684 kB
  • ctags: 1,426
  • sloc: php: 3,377; xml: 203; makefile: 29; sql: 18; sh: 17; python: 10
file content (18 lines) | stat: -rwxr-xr-x 675 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
	require_once("PHPReportMaker.php");
	
	/******************************************************************************
	*																										*
	*	Use this file to see a sample of PHPReports.											*
	*	Please check the PDF manual for see how to use it.									*
	*	It need to be placed on a directory reached by the web server.					*
	*																										*
	******************************************************************************/
	$oRpt = new PHPReportMaker();
	$oRpt->setUser("taq");
	$oRpt->setPassword("******");
	$oRpt->setXML("sales.xml");
	$oOut = $oRpt->createOutputPlugin("default");
	$oRpt->setOutputPlugin($oOut);
	$oRpt->run();
?>