Read Text File Test

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

  1. PopUpSteve

    PopUpSteve Administrator

    Messages:
    18,713
    Likes Received:
    1,525
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.