php + lynx + grep
| From: | Brian L. Ollom | Date: | Sat, 03 Apr 2004 15:13:26 +0000 |
| Subject: | php + lynx + grep | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182455@lists.php.net to get a copy of this message | ||
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 |
----------------------------------------------------------------