Sammy1984us Posted December 30, 2011 Share Posted December 30, 2011 I am new to PHP and I am trying to write code which will perform a string search function based off of user specified directory + log file (ex: /home/log.txt) , and user specified string(s) to search for, the user can enter more than one string separated by '|'. Is egrep the correct way to go in terms of taking input separated by '|' Quote Link to comment https://forums.phpfreaks.com/topic/254083-string-search-from-user-specified-configurations/ Share on other sites More sharing options...
Muddy_Funster Posted December 30, 2011 Share Posted December 30, 2011 if your new to PHP you should probably start at the beginning. I believe the function you are thinkng about using has been depreciated. Quote Link to comment https://forums.phpfreaks.com/topic/254083-string-search-from-user-specified-configurations/#findComment-1302580 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.