Raised This Month: $ Target: $400
 0% 

Check log for specific words


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-19-2009 , 13:47   Re: Check log for specific words
Reply With Quote #2

You need :

- open_dir() : To open the directory wanted.
- next_file() : To read the next file in the directory handle.
- fopen() / fgets() / fclose() : To open the file, reading each line, and closing the file.

And while reading each line, you would need to use something like contain().
But depending what you need to find, you may want to try regex.
__________________
Arkshine is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode