[ snippity snip snip ]
Have you verified that lynx, grep, and head are in PHP's path? Check the
output of `which lynx` or phpinfo() to figure out what your path is, and
whether it includes lynx. Alternatively, use a full path to lynx to avoid
confusion.
Could be that the apache process has no righ
>Try adding the apache user to sudoers in /etc/sudoers if not already
>there
DANGER WILL ROBINSON.
Don't add the Apache user to /etc/sudoers -- Apache's security model
relies on that user being unprivileged.
>> lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep
>> -v '41-3
Hi,
I had same problem myself once.
Try adding the apache user to sudoers in /etc/sudoers if not
already there
Cheers,
Catalin
"Brian L. Ollom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v
> 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 thi
4 matches
Mail list logo