1 <?php
2 $origin_str = file_get_contents('路径/文件.txt');
3 $update_str = str_replace('qwe=0', 'qwe=1', $orgin_str);
4 file_put_contents('路径/文件.txt', $update_str);
5 ?>

 

相关文章:

  • 2021-07-15
  • 2021-08-09
  • 2022-12-23
  • 2021-07-06
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案