Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| snippets:php:fgets [26-Jan-2021 19:57] – Steve Joynt | snippets:php:fgets [26-Jan-2021 20:01] (current) – Steve Joynt | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| $filename = ' | $filename = ' | ||
| + | |||
| $fh = @fopen($filename, | $fh = @fopen($filename, | ||
| Line 12: | Line 12: | ||
| echo $text; | echo $text; | ||
| } | } | ||
| - | |||
| - | fclose($fh); | ||
| - | |||
| </ | </ | ||