Merhaba,
Irfanview adlı program ms-dos satırında irfanview -c a.jpg b.bmp komutu a.jpg
dosyasını b.bmp dosyasına dönüştürüyor
Ben programı ve dosyaları web serverımdaki imageconvert klasörüne yükletip
çalıştırmayı denedim ama olmadı. Kod yanlış mı yada her programı exec() komutuyla çalıştıramam mı?
<?
$pid=exec("/home/user/public_html/imageconvert/irfanview.exe -c a.jpg b.bmp");
echo $pid;
?>
Irfanview adlı program ms-dos satırında irfanview -c a.jpg b.bmp komutu a.jpg
dosyasını b.bmp dosyasına dönüştürüyor
Ben programı ve dosyaları web serverımdaki imageconvert klasörüne yükletip
çalıştırmayı denedim ama olmadı. Kod yanlış mı yada her programı exec() komutuyla çalıştıramam mı?
<?
$pid=exec("/home/user/public_html/imageconvert/irfanview.exe -c a.jpg b.bmp");
echo $pid;
?>