Re: Weird problem while reading in a file to an Array

From: Date: Thu, 29 Jan 2009 22:22:45 +0000
Subject: Re: Weird problem while reading in a file to an Array
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-287380@lists.php.net to get a copy of this message
Hello Shawn, 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. Thanks for it, now I have an array but the "|head -n 11" is ignored and my arrays have up to several 10.000 elements... Also if I like to continue processing,it does not more work because the backslashes... 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)

« previous php.general (#287380) next »