Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

read line by line php

<?php
	
	$file = new SplFileObject("file.txt");

	while(!$file->eof())
	  {
		echo $file->fgets()."<br/>";
	  }

	$file = null;

?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #line #line #php
ADD COMMENT
Topic
Name
5+2 =