php system() problem
Übersicht

![]() |
KnykBetreff: php system() problem |
![]() Antworten mit Zitat ![]() |
---|---|---|
Hallo,
Ich versuche auf meinem Server in php mittels System() einen Konsolenbefehl auszuführen. Das sieht so aus: Code: [AUSKLAPPEN] system('sh skript.sh',$ausgabe);
Jedoch passiert absolut nichts. Keine Aktionen, aber auch keine Fehler. Nichts. Code: [AUSKLAPPEN] sh skript.sh
in der Konsole läuft jedoch ohne Probleme. und Code: [AUSKLAPPEN] system('ls',$ausgabe);
tut was es soll. Was mache ich da falsch? |
||
![]() |
Propellator |
![]() Antworten mit Zitat ![]() |
---|---|---|
http://php.net/manual/en/function.system.php
Zitat: Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable.
Randnotiz: PHP brilliert mal wieder mit genialen Sicherheitsvorkehrungen, wie etwa ".." zu verbieten. Genial. |
||
Propellator - Alles andere ist irrelephant.
Elefanten sind die Könige der Antarktis. |
![]() |
hamZtaAdministrator |
![]() Antworten mit Zitat ![]() |
---|---|---|
Bist du dir sicher dass der Pfad zum Skript stimmt? | ||
Blog. |
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group