- Timestamp:
- Oct 24, 2012, 9:14:56 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/dvodist/www-util/ipp.php
r33986 r34543 165 165 // loop over the lines in the file and generate lines in the menu 166 166 while ($line = fgets ($file, 1024)) { 167 echo "line: $line<br>\n"; 167 168 if (strlen($line) < 2) { 168 169 if (!$addbreak) { … … 177 178 } 178 179 fclose ($file); 180 } 181 182 function do_markdown ($source) { 183 $file = fopen ($source, "r"); 184 185 // loop over the lines in the file and generate lines in the menu 186 $ascii = ""; 187 while ($line = fgets ($file, 1024)) { 188 $ascii .= $line; 189 } 190 fclose ($file); 191 $my_html = Markdown($ascii); 192 echo "$my_html"; 179 193 } 180 194
Note:
See TracChangeset
for help on using the changeset viewer.
