<?php
//要打开字典的物理路径
$filename = 'E:\Local Test\WWW\password.txt';
$handle = fopen($filename,'r') or die('文件打开失败');
//读取字典
$contents = fread($handle,filesize('E:\Local Test\WWW\password.txt'));
fclose($handle);
$text = explode('
',$contents);
foreach($text as $key=>$value){
    //修改要生成的邮箱后缀
    $text[$key] = $value.'@qq.com<br>';
    print_r($text[$key]);
}
?>

【知识学习】PHP实现批量替换字典后缀【知识学习】PHP实现批量替换字典后缀

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2021-10-22
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-30
  • 2022-02-16
  • 2022-01-13
  • 2022-01-19
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案