Search found 2 matches
- Thu Mar 20, 2008 1:59 pm
- Forum: PHP - Code
- Topic: Parsing conf file.
- Replies: 2
- Views: 80
Re: Parsing conf file.
This is a configuration file for a search engine which runs on linux (so the file is something like name.conf). It is a pure textual file. ini file can't be used for different reasons.
- Thu Mar 20, 2008 1:50 pm
- Forum: PHP - Code
- Topic: Parsing conf file.
- Replies: 2
- Views: 80
Parsing conf file.
I'm a total noob concerning php and i would appreciate some help. I need to read and parse config file and save values to array of arrays. My problem is how to parse it. Conf file looks like this: //some comments... //some comments... . . . variable_name=variable_value //some comments //some comment...