ekwie
Goto Top

Shell in PHP einbinden

Shellbefehle in PHP einbinden.

Ich weiss das es funktioniert PHP Scripte in ein Shellscript einzubinden ..
Würde es auch gehen einzelne Shellbefehle in PHP einzubinden?
bzw ein Shellscript aus PHP heraus zu starten?

Danke

Content-Key: 24942

Url: https://administrator.de/contentid/24942

Printed on: April 16, 2024 at 05:04 o'clock

Member: Dani
Dani Feb 01, 2006 at 08:25:42 (UTC)
Goto Top
Der Befehl lautet shell_exec

Beschreibung:
shell_exec -- Execute command via shell and return the complete output as a string
Description
string shell_exec ( string cmd)


This function is identical to the backtick operator.
Anmerkung: Diese Funktion ist bei Verwendung von Safe Mode deaktiviert.
Member: eKwie
eKwie Feb 01, 2006 at 08:37:34 (UTC)
Goto Top
danke für die schnelle hilfe =)
Member: Dani
Dani Feb 01, 2006 at 08:39:24 (UTC)
Goto Top
Kein Problem! Viel Spaß damit.

Gruß
Dani