Brian L. Ollom wrote:
What's the output you're looking for.  When I run that line of
code, and echo out $output, I get...

<TD><FONT FACE="Arial,Helvetica">  KTOL 061552Z 22013KT 10SM
CLR 11/M03 A3001 RMK AO2 SLP164 T01111033


On a website or command line? Command line is the easy part, but
I'm having problems getting that to work on a web site.

----------------------------------------------------------------
| Brian Ollom                  |                               |
| NiteHawke.Com                |  http://www.nitehawke.com/    |
| An Authorized Firefly Dealer |  email  [EMAIL PROTECTED]  |
----------------------------------------------------------------
ForPilot's - Software for your piloting needs!
http://www.forpilots.com/
Great Deals on Great Pilot Supplies!
http://www.acespilotshop.com/cgi-bin/ares.cgi?ID=240400532
Want deals on other great stuff?  Click here!
http://www.dollardays.com/index.asp?affilid=385



This is the exact code I used, and hit via a browser....


<?php

$output = `lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v '41-35-19N' |grep TOL | head -n 1`;
echo ( $output );


?>

--
***********************************************************************
*  _  __       __      __       _                      * John  Nichel *
* | |/ /___ __ \ \    / /__ _ _| |__ ___  __ ___ _ __  * 716.856.9675 *
* | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ '  \ * 737 Main St. *
* |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150   *
*          |___/                                       * Buffalo, NY  *
* http://www.KegWorks.com            [EMAIL PROTECTED] * 14203 - 1321 *
***********************************************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to