<?php
$file_reader = fopen("sample_text.txt", "r");
while(!feof($file_reader)) {
echo fgets($file_reader) . "<br/>";
}
?>
sample_text.txt:
This is php file reading exampleOutput:
This is php file reading example
$x = <<<THE_END PHP stands for "PHP: Hypertext Preprocessor". The acronym "PHP" is therefore, usually referre...
No comments:
Post a Comment