fgrep command -Vista
Posted by: jkpalmer (---.nap.wideopenwest.com)
Date: November 28, 2008 03:07PM

I've trying to get a web application that I've installed on a Windows Vista machine using Wamp 2.0

(Test Case Web - from sourceforge.net)

Not a real "heavy" but have determined that the following command doesn't return any values using WAMP 2.0 on Vista machine

$files=`fgrep \<\!NAVTITLE *.php`;

This application works fine using WAMP 2.0 on Windows XP.

Any help would be appreciated.

-jP

Options: ReplyQuote
Re: fgrep command -Vista
Posted by: toivo (---.nsw.bigpond.net.au)
Date: November 28, 2008 09:02PM

Hi,

Where did you install fgrep.com? Is the folder included in the PATH variable?

This has little to do with WAMP as such, or are you running the command from a PHP script?

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: fgrep command -Vista
Posted by: jkpalmer (---.nap.wideopenwest.com)
Date: November 28, 2008 09:47PM

Running the fgrep from a PHP script.

Using previous installations of webservers on Windows, I never had to install fgrep.com

If I need to install, where do I get it from for WIndows Vista?

Options: ReplyQuote
Re: fgrep command -Vista
Posted by: toivo (---.nsw.bigpond.net.au)
Date: November 28, 2008 09:53PM

Maybe someone else installed it on your XP because fgrep is not a Windows executable or a PHP function. It does not have a home page, but I downloaded it for XP from [www.programmersheaven.com]


Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: fgrep command -Vista
Posted by: jkpalmer (---.nap.wideopenwest.com)
Date: November 28, 2008 11:54PM

Thanks.

I've downloaded it. Can you describe to me where I should extract it to and if I need to change to allow the module to be found by the PHP script?

-jP

Options: ReplyQuote
Re: fgrep command -Vista
Posted by: toivo (---.nsw.bigpond.net.au)
Date: November 29, 2008 01:24AM

In Windows XP you can copy fgrep.com to c:\windows\system32 and it should work. Hopefully that will also work in Vista.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.