Switch to: V11V10V9V8V7V6V5

valentina_init_reports()

Declaration

valentina_init_reports ( 
            [string inMacSerial], 
            [string inWinSerial], 
            [string inLinuxSerial] )

Parameters

Name Description Default Value
inMacSerial The MacOS serial. An empty value.
inWinSerial The Windows serial. An empty value.
inLinuxSerial The Linux serial. An empty value.

Description

Remove inscription “demo” on the pages. Used only when VPHP work as standalone without VSERVER.

If you have put Valentina Project file .vsp under a Valentina Server control, then there is no need to call this function, because report engine included into VServer will do a job.

Return Values

No return value.

Examples

Example 1.

<?php
$link = valentina_connect('localhost', 'val_user', 'val_password');
if (!$link) {
   die('Could not connect: ' . valentina_error());
}
 
valentina_init_reports("inMacSerial", "inWinSerial", "inLinuxSerial");
 
echo 'Connected successfully';
valentina_close($link);
?>