Solution for "read file from php"

<?php $fh = fopen('filename.txt','r'); while ($line = fgets($fh)) { // <... Do your work with the line ...> // echo($line); } fclose($fh); ?>

read file data using php

Similar codes for "read file from php"


Latest 'PHP' questions

Added before "read file from php"