PHP Pioneers
Monday, May 30, 2011
PHP Read text files
Reading files is just as easy as writing them.
<?php
$str = file_get_contents("myfile.txt");
echo $str;
?>
People might not like it, but it works and is super easy.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment