Beispiel #1
0
<?php

/**
 * Created by PhpStorm.
 * User: blond
 * Date: 16/11/15
 * Time: 20:03
 */
if (isset($_GET['numero']) && $_GET['numero'] > 0) {
    //-- si un numero de planche est sup à 0
    $pnIdPlanche = $_GET['numero'];
    include '/var/www/appli/lib/srv.php';
    //-- load ip server
    require_once "../class/class.exa.php";
    //-- load class to work
    $obj = new exaprint();
    $obj->logFile(basename(__FILE__), __FUNCTION__, "RUN", ": {$pnIdPlanche}");
    $obj->getConDbo();
    $resu = $obj->getRollBackfiles($pnIdPlanche);
    $obj->logFile(basename(__FILE__), __FUNCTION__, "END", ": {$pnIdPlanche}\n");
    return "fini";
} else {
    return "_GET['numero'] is null";
}