Directory / File Searching
Posted: Wed Nov 19, 2003 5:06 am
Hi,
I'm currently working on a project that requires me to use PHP to handle and read INI files...I only started learning PHP at the beginning of the week, and I have encountered a problem. I need a way to search a directory full of INI files for a specific string in one of the files, and I'm not sure how to go about this. As far as I know, all of the INI's are going to have to be parsed to be searched...I can handle that, I'm just not sure how to go about the searching itself.
A search of the PHP Manual hasn't offered many hints so far...
I'd be grateful for any ideas and assistance.
I'm currently working on a project that requires me to use PHP to handle and read INI files...I only started learning PHP at the beginning of the week, and I have encountered a problem. I need a way to search a directory full of INI files for a specific string in one of the files, and I'm not sure how to go about this. As far as I know, all of the INI's are going to have to be parsed to be searched...I can handle that, I'm just not sure how to go about the searching itself.
A search of the PHP Manual hasn't offered many hints so far...
I'd be grateful for any ideas and assistance.