tibberous Posted July 24, 2008 Share Posted July 24, 2008 I was thinking something like.... $cmd = "grep -R -e <string>"; shell_exec($cmd); What makes it harder is that my string is: $user_id != 105 So I think I need to escape the $, ! and space? Also, is there a way to just do php files? Quote Link to comment Share on other sites More sharing options...
.josh Posted July 24, 2008 Share Posted July 24, 2008 http://php.net/glob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.