Read Text File Test

Discussion in 'Admin Message Prep' started by PopUpSteve, Nov 27, 2015.

  1. PopUpSteve

    PopUpSteve Administrator

    Messages:
    19,402
    Likes Received:
    2,064
    Joined:
    Dec 22, 2002
    Location:
    Malvern, PA
    HTML:
    <?php
    
    $fh = fopen('agreement.txt','r');
    while ($line = fgets($fh)) {
       echo($line);
    }
    fclose($fh);
    ?>
    
     

Share This Page