Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.php > #4639
| From | k@rl.pflaesterer.de (Karl Pflästerer) |
|---|---|
| Newsgroups | de.comp.lang.php |
| Subject | Re: Rückgabe shell_exec |
| Date | 2021-01-12 18:43 +0100 |
| Message-ID | <m1eeiqm4or.fsf@mbp.pflaesterer.de> (permalink) |
| References | <rtiq3p$keb$1@gioia.aioe.org> |
Carlos Naplos <carna@onlinehome.de> writes:
> Hallo
>
> Hier mein nächstes Problem:
>
> System: xubuntu/apache2
>
> discid.php
> ----------
> <?php
> $output = shell_exec('discid');
> echo "Ausgabe $output Ende";
> ?>
> ----------
>
> Ausgabe von "php discid.php" in bash:
> Ausgabe 3A08AA05 5 150 38385 73007 105557 137767 2220 Ende
>
> Ausgabe auf Webseite (apache2):
> Ausgabe Ende
>
Nebenbei: Nimm doch anstatt shell_exec exec(). Dann hast du den
Rückgabetext und Rückgabewert und siehst leichter, warum etwas nicht
geht
Back to de.comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar
Rückgabe shell_exec Carlos Naplos <carna@onlinehome.de> - 2021-01-12 01:22 +0100
Re: Rückgabe shell_exec Carlos Naplos <carna@onlinehome.de> - 2021-01-12 04:37 +0100
Re: Rückgabe shell_exec Heiko Kürschner <hcp.net@gmx.de> - 2021-01-12 21:00 +0000
Re: Rückgabe shell_exec k@rl.pflaesterer.de (Karl Pflästerer) - 2021-01-12 18:43 +0100
Re: Rückgabe shell_exec Carlos Naplos <carna@onlinehome.de> - 2021-01-13 17:04 +0100
Re: Rückgabe shell_exec (Ultimative Lösung) Carlos Naplos <carna@onlinehome.de> - 2021-01-13 19:11 +0100
Re: Rückgabe shell_exec Arno Welzel <usenet@arnowelzel.de> - 2021-01-15 14:19 +0100
Re: Rückgabe shell_exec Arno Welzel <usenet@arnowelzel.de> - 2021-01-15 14:18 +0100
Re: Rückgabe shell_exec (gelöst) Carlos Naplos <carna@onlinehome.de> - 2021-01-15 22:51 +0100
csiph-web