Hi, trying to encrypt a xml file server side with php with no success.
here is the php code :
PHP
<?php
error_reporting(E_ALL);
$file = __DIR__ . "/tour.xml";
$encrypted_file = __DIR__ . "/encrypted_tour.xml";
$output = array();
$result = 0;
exec(__DIR__ . "/krpanotools register W/W5Ms+EuT253Zk******",$output, $result);
exec(__DIR__ . "/krpanotools encrypt -in=".$file." -out=".$encrypted_file, $output , $result);
print_r($output,true);
?>
Alles anzeigen
no error displayed and no encrypted file on the server.
I have enabled exec php function on my server.
Any clue ?
Many thanx