Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: > exec(escapeshellcmd("echo '$BUILDLOG' | head -n 11"), $TMP_DATA); > > There are quotes or backticks or something in $BUILDLOG. Forgotten one thing: If I continue to process the array() with, e.g., $POS=strpos(stripcslashes($TMP_DATA['0']), ": "); $POS=$POS+2; $PKG=substr(stripcslashes($TMP_DATA['0']), $POS); $POS=strpos(stripcslashes($TMP_DATA['1']), "version "); $POS=$POS+8; $VERSION=substr(stripcslashes($TMP_DATA['1']), $POS); stripcslashes() does not have any effect and processing fails. Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### <http://www.tamay-dogan.net/> <http://www.can4linux.org/> Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
<<attachment: signature.pgp>>