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