/ Published in: Other
Expand |
Embed | Plain Text
<?php // display source code $lines = file('http://google.com/'); // pick teh url foreach ($lines as $line_num => $line) { // loop thru each line and prepend line numbers echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n"; } ?>
You need to login to post a comment.
