So überprüfen Sie, ob ein Shell -Befehl von PHP vorhanden istPhp

PHP-Programmierer chatten hier
Anonymous
 So überprüfen Sie, ob ein Shell -Befehl von PHP vorhanden ist

Post by Anonymous »

Ich brauche so etwas in 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>

Gibt es Lösungen? < /p>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post