can nawk work with php
| From: | David Kuku | Date: | Fri, 19 Apr 2002 20:52:30 +0000 |
| Subject: | can nawk work with php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83044@lists.php.net to get a copy of this message | ||
Can someone help me!!!
How can i use unix-commands in php scripts
Like this:
ldapsearch -h ldaphost -b 'ou=people,o=ubs,c=ch' 'cn=*t113469'* | nawk
-F"="
'/uid;short/ { print $2 }' " );
this commands works on unix-shell
how can i use this so that php will be able to interprete this?
any Help 'll be highly appreciated!
david