69pao国产精品视频-久久精品一区二区二三区-精品国产精品亚洲一本大道-99国产综合一区久久

略過文本文件的一行

代碼:

<!DOCTYPE html>

<html>

<body>

<p>The first line in the text file is skipped:</p>

 

<%

Set fs=Server.CreateObject("Scripting.FileSystemObject")

 

Set f=fs.OpenTextFile(Server.MapPath("testread.txt"), 1)

f.SkipLine

Response.Write(f.ReadAll)

f.Close

 

Set f=Nothing

Set fs=Nothing

%>

 

</body>

</html>

結(jié)果:

The first line in the text file is skipped:

How are you today?

相關(guān)文章