On Apr 6, 2004, at 12:53 PM, Brian L. Ollom wrote:

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.

I use following to retrieve output with Lynx: $out = `lynx -dump -source "http://localhost"`;


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  [EMAIL PROTECTED]  |
----------------------------------------------------------------

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


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



Reply via email to