> Have you tried escaping the pipes and quotes? Try this: > > $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0 > /tmp/pitstop.mpeg 2>/dev/null\| grep ID_LENGTH \| cut -d \"=\" -f 2");
nope, still get nothing back. > > Mario Ohnewald wrote: > > > $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0 > > /tmp/pitstop.mpeg 2>/dev/null| grep ID_LENGTH | cut -d "=" -f 2"); > -- 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! +++ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php