Re: php + lynx + grep
| From: | Brian L. Ollom | Date: | Sat, 03 Apr 2004 15:25:40 +0000 |
| Subject: | Re: php + lynx + grep | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182459@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
It works fine on the command line, but won't show any info on
the site.
----------------------------------------------------------------
| Brian Ollom | |
| NiteHawke.Com | http://www.nitehawke.com/
|
| An Authorized Firefly Dealer | email bollom@nitehawke.com |
----------------------------------------------------------------