close
<?php
$handle = fopen("users.txt", "r");
while ($userinfo = fscanf($handle, "%s\t%s\t%s\n")) {
list ($name, $profession, $countrycode) = $userinfo;
//... do something with the values
}
fclose($handle);
?>
users.txt
javier argonaut pe
hiroshi sculptor jp
robert slacker us
luigi florist it
全站熱搜
留言列表