<?php
$array = file('網址');
foreach ($array as $line_num => $html) {
//echo htmlspecialchars($html) . "<br />\n";
echo "{$line_num} ".htmlspecialchars($html,ENT_QUOTES) . "<br />\n";
}
?>
此為 PHP原始碼,抓取網站原始碼且有 列出行數。
Hi! Everyone! My name is Weil Jimmer. This is my personal blog. I'm a webmaster of this site. I hope the site will be popular. Now, Let's go! Enjoy gaining more knowledge. |
Found 137 records. At Page 28.
<?php
$array = file('網址');
foreach ($array as $line_num => $html) {
//echo htmlspecialchars($html) . "<br />\n";
echo "{$line_num} ".htmlspecialchars($html,ENT_QUOTES) . "<br />\n";
}
?>
此為 PHP原始碼,抓取網站原始碼且有 列出行數。
This entry was posted in PHP By Weil Jimmer.
哇,第一次在自己架的blog網站上,發文章,原本也是這樣認為 可以多發一點, 只是這個軟體的介面我不喜歡而已... ... 編輯介面的選項還好,都OK,感覺板模少了點而已。
This entry was posted in Mood By Weil Jimmer.
White Birch Forum © Copyright
©2010- W.B.F. All Rights Reserved.
Weil Jimmer Web PHP Script