Re: php + lynx + grep

From: Date: Tue, 06 Apr 2004 16:53:27 +0000
Subject: Re: php + lynx + grep
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-182499@lists.php.net to get a copy of this message
> Try.... > > $output = `lynx --source > http://weather.noaa.gov/weather/current/KTOL.html |grep -v > '41-35-19N' |grep TOL | head -n 1` > > Those are backticks, not single quotes surrounding the > command. Backticks didn't work either. I got it to work by using a cron to > the info into a text file and then include()'d the text file in the website, but I'd rather not have to rely on the cron job if I don't have to. ---------------------------------------------------------------- | Brian Ollom | | | NiteHawke.Com | http://www.nitehawke.com/ | | An Authorized Firefly Dealer | email bollom@nitehawke.com | ----------------------------------------------------------------

« previous php.general (#182499) next »