Мне нужно что -то подобное в php: < /p>
If (!command_exists('makemiracle')) {
print 'no miracles';
return FALSE;
}
else {
// safely call the command knowing that it exists in the host system
shell_exec('makemiracle');
}
< /code>
Есть ли решения? < /p>
Подробнее здесь: https://stackoverflow.com/questions/124 ... s-from-php