<?php
$content = file_get_contents('password.txt');
$arr = explode("\r\n", $content);
$s = "";
for($i=0;$i<count($arr);$i++){
$items = explode(".", $arr[$i]);
for($j=0;$j<count($items);$j++){
$s .= $items[$j]*10;
if($j != count($items)-1) $s .= '.';
}
$s .= "\r\n";
}
file_put_contents('info.txt',$s);
?>
读取password中的内容,并且相应的写到info文件中