I've got a problem when trying to execute an extern command with exec() or system() or passthru()
When executing from php, it adds a / before the command.
So, for instance, instead of a single mkdir command, it try to execute /mkdir and the result is "sh: mkdir : no such file or directory" in the error_log
how could I avoid or delete this / caracter ?
my source :
<?php
header("content-type:image/jpeg");
system("convert 100.pcd[2] jpg:-");
?>
please help me !!!
Sho...