How cann i run Krpano bat file from php code on win10 XAMPP server to make a panorama from web interface
Please help me i am new and i need your support
I tried this code but it failed
QuoteDisplay More$path = "C:\xampp\htdocs\krpano\22.jpg";
$preview = str_replace("http://localhost:82/krpano/","C:\xampp\htdocs\krpano\krpano",$path);
$thisfile = str_replace(".jpg","_b.jpg",$preview);//we check if the cubes are not already created, if not then, call krtransform
if (!file_exists($thisfile)) {
$output = array();
$return_var = 0;
exec("/home1/path/ktransform cube6 $preview $preview -jpegoptimize", $output, $return_var);
}