Re: Re[2]: [PHP] Using system

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 22:49, Uros wrote: > I think not Believe it or not, Robert's answer is correct. > here is my code > > #!/usr/local/bin/php -q > $ret = `nslookup -timeout=3 www.myhost.com |grep "Non-existent > host/domain"`; ?> > I always get automaticaly output. I also try to se

Re: Re[2]: [PHP] Using system

2003-09-17 Thread Robert Cummings
Uros, Run the command from the shell prompt and check your grep against the output. Cheers, Rob. On Wed, 2003-09-17 at 10:49, Uros wrote: > Hello Robert, > > I think not > > here is my code > > #!/usr/local/bin/php -q > $ret = `nslookup -timeout=3 www.myhost.com |grep "Non-existent host/doma

Re[2]: [PHP] Using system

2003-09-17 Thread Uros
Hello Robert, I think not here is my code #!/usr/local/bin/php -q I always get automaticaly output. I also try to set implicit_flush to off, use ob ob_... nothing works. best regards Wednesday, September 17, 2003, 4:16:10 PM, you wrote: RC> Backtick style gets you the output... RC> $passw