RE: [PHP] shell_exec with pipes
| From: | Mario Ohnewald | Date: | Wed, 12 Nov 2003 09:21:49 +0000 |
| Subject: | RE: [PHP] shell_exec with pipes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169242@lists.php.net to get a copy of this message | ||
Hi,
> $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> /tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
echo "Output: $var";
Still gives nothing back :/
Told you, its not that easy :P
Thank you very much, Mario
--
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++