Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>File read demo</title>
- </head>
- <body>
- <?
- $file = "/tmp/file1.txt";
- $f = fopen($file, "r");
- while ( $line = fgets($f, 1000) ) {
- print $line;
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement