Re: php + lynx + grep

From: Date: Wed, 07 Apr 2004 18:24:39 +0000
Subject: Re: php + lynx + grep
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182688@lists.php.net to get a copy of this message
Hi, I had same problem myself once. Try adding the apache user to sudoers in /etc/sudoers if not already there Cheers, Catalin "Brian L. Ollom" <bollom@nitehawke.com> wrote in message news:20040403151331.92141.qmail@pb1.pair.com... > lynx --source http://weather.noaa.gov/weather/current/KTOL.html > |grep -v > '41-35-19N' |grep TOL | head -n 1 > > I need to get the output of the above command for a web site I'm > working on. I've tried exec(), system() and neither seems to > work. > > It's output should be something like this(it changes hourly): > <TD><FONT FACE="Arial,Helvetica"> KTOL 031452Z 28013KT > 10SM CLR 10/01 A2977 RMK AO2 SLP086 T01000006 58015 > > Help! > > ---------------------------------------------------------------- > | Brian Ollom | | > | NiteHawke.Com | http://www.nitehawke.com/ > | > | An Authorized Firefly Dealer | email bollom@nitehawke.com | > ----------------------------------------------------------------

« previous php.general (#182688) next »