Back to home
显示网页的源代码
2014-04-10 07:40:15 -0400
<?php // display source code
$lines = file('
http://google.com/');
foreach ($lines as $line_num => $line) {
// loop thru each line and prepend line numbers
echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n";
}
Back to home
Subscribe |
Register |
Login
| N