forked from qo-op/G1BILLET
shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."'");
This commit is contained in:
parent
8211a0fc40
commit
681c2b8925
@ -6,8 +6,7 @@ $mytime = new Datetime("now");
|
|||||||
$timestamp = $mytime->format('U');
|
$timestamp = $mytime->format('U');
|
||||||
|
|
||||||
// CREATE 6 G1BILLETS in /tmp/g1billet/$timestamp
|
// CREATE 6 G1BILLETS in /tmp/g1billet/$timestamp
|
||||||
$bashbillet= dirname(__FILE__)."/G1BILLETS.sh";
|
$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."'");
|
||||||
shell_exec($bashbillet $_REQUEST['montant'] $timestamp");
|
|
||||||
|
|
||||||
$attachment_location = "/tmp/g1billet/".$timestamp.".pdf";
|
$attachment_location = "/tmp/g1billet/".$timestamp.".pdf";
|
||||||
if (file_exists($attachment_location)) {
|
if (file_exists($attachment_location)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user