Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get and print file contents


<?php
// Read 14 characters starting from the 21st character
$section = file_get_contents('./people.txt', FALSE, NULL, 20, 14);
var_dump($section);
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #print #file #contents
ADD COMMENT
Topic
Name
2+8 =