• 29-01-2022, 17:57:27
    #1
    🧙 Kod Sihirbazı 🧙
    toplu mail gönderticem txt dosyasında ki her satıra 1 mail gelcek şekilde her satırı nasıl çekebilirim ? olduğu satır kadarda döngü işlemi yaptırıcam yazdırıcam
  • 29-01-2022, 18:27:58
    #2
    $handle = fopen("inputfile.txt", "r");
    if ($handle) {
        while (($line = fgets($handle)) !== false) {
            // process the line read.
        }
    
        fclose($handle);
    } else {
        // error opening the file.
    }
    https://stackoverflow.com/questions/13246597/how-to-read-a-large-file-line-by-line