Question: Why don't you use READPROFILESTRING(), this function is designed to read .INI files. It would make your code much easier.
code:
$excluded=readprofilestring('config.ini','[excluded_hosts]','')
$excluded=split($excluded,chr(10))

will put the list of excluded hosts into an array.

[ 18 July 2002, 04:13: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.