Ejemplo n.º 1
0
<?php

require_once './classes/Certificates.php';
$cert = new Certificates();
$certs = $_POST['certs'];
$start = $_POST['start'];
$end = $_POST['end'];
$list = $cert->recertificate($certs, $start, $end);
echo $list;
Ejemplo n.º 2
0
 function renew_user_certificate($certificate)
 {
     $certstr = $certificate->id . ",";
     $cert = new Certificates();
     $cert->recertificate($certstr, $certificate->date1, $certificate->date2);
 }