hi..
Thank you for your answer.
I'm really appreciating your kindness.
but, I already made the functions using PHP3 like GetProfileString().
but, this source is limited version.
that is not use Section.
just, use filename and itemname.
andso, speed of access maybe slower.( in my thinking )
following is contents of that....
function GPS ($filename, $itemname) {
$fp = fopen($filename,"r");
if (!$fp) {
echo("Faild to open the file($fp)");
}
else {
while ( !feof($fp) ) {
$line = fgets($fp, 256);
$arr = explode("=",$line);
$val = trim($arr[0]);
if ( !strcmp($val, $itemname) ) {
fclose($fp);
return trim($arr[1]);
}
}
}
flose($fp);
}
see you later.....
bye.