I think it's 

$result=system("grep -a $file");


But check out 
hotscipts.com
phpbuilder.com
and obviously:
php.net


Wez
On Tuesday 25 Jun 2002 5:02 pm, mike flanagan wrote:
> anyone have any favorite PHP sites? We have some simple scripts I would
> somehow like incorporate into a web interface. I have seen scripts that
> execute Unix commands, but little is written about *how* they actually
> work. Something as simple as "do this" and then maybe pipe the output to a
> variable I can display in html. Its all very new to me, but I just cant
> take working on windoze anymore.  Any suggestions or sources are greatly
> appreciated. Cheers!
> Mike Flanagan



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to