From e39e9cc0914b92b8af2b55ff6568c57eca6d4169 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 31 Dec 2010 01:46:02 -0500 Subject: [PATCH] more work with file io --- docroot/html/files.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docroot/html/files.php b/docroot/html/files.php index ea050bf..fbe87c8 100644 --- a/docroot/html/files.php +++ b/docroot/html/files.php @@ -13,6 +13,7 @@ mkheader('files!', '#aaa'); // do nothing! $handle = fopen('data.txt', 'r'); fclose($handle); + print "didn't actually do anything here ..."; ?> @@ -25,5 +26,19 @@ mkheader('files!', '#aaa'); ?> + + +
 $line) {
+        $linenum = $key + 1;
+        print "Line $linenum: $line";
+    }
+
+
+    ?>
+