Answers for "php read file info"

PHP
0

php info file

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Posted by: Guest on December-10-2020
2

read file data using php

<?php

$fh = fopen('filename.txt','r');
while ($line = fgets($fh)) {
  // <... Do your work with the line ...>
  // echo($line);
}
fclose($fh);
?>
Posted by: Guest on July-19-2021

Browse Popular Code Answers by Language