//写入文件
$file="./cache/id9601.cache";
$array = array("id" =>"300");
file_put_contents($file,$array);//写入缓存
//读取文件
$file_handle = fopen($file, "r");
$id = 0;
while (!feof($file_handle)) {
$ob_seq_id = fgetss($file_handle);
}
fclose($file_handle);
$file="./cache/id9601.cache";
$array = array("id" =>"300");
file_put_contents($file,$array);//写入缓存
//读取文件
$file_handle = fopen($file, "r");
$id = 0;
while (!feof($file_handle)) {
$ob_seq_id = fgetss($file_handle);
}
fclose($file_handle);