FILE.TXT [英] File.txt
问题描述
大家好,
如何在HTML页面中插入一个文件.txt存储在服务器的同一个
目录中的哪个是html文件必须显示文字
file.txt?
非常感谢
P.Pietro
Hi at all,
how can I do to insert into a HTML page a file .txt stored in the same
directory of the server where is the html file that must display the text
file.txt?
Thank you very much
P.Pietro
推荐答案
" AM" < NO **** @ eurotime.it> skrev i meddelandet
新闻:VJ ********************* @ twister2.libero.it ...
"A.M." <NO****@eurotime.it> skrev i meddelandet
news:VJ*********************@twister2.libero.it...
如何在HTML页面中插入一个文件.txt存储在服务器的同一个目录中,哪个是必须显示文本的html文件
file.txt?
非常感谢
P.Pietro
Hi at all,
how can I do to insert into a HTML page a file .txt stored in the same
directory of the server where is the html file that must display the text
file.txt?
Thank you very much
P.Pietro
你不能使用javascript。
使用服务器端PHP它就像:echo file_get_contents(''file.txt'');
Joakim Braun
You can''t with javascript.
With server-side PHP it''s as easy as: echo file_get_contents(''file.txt'');
Joakim Braun
Joakim Braun写道:
Joakim Braun wrote:
" AM" < NO **** @ eurotime.it> skrev i meddelandet
新闻:VJ ********************* @ twister2.libero.it ...
"A.M." <NO****@eurotime.it> skrev i meddelandet
news:VJ*********************@twister2.libero.it...
嗨at全部,
如何将存储在服务器的同一个目录中的文件.txt插入到HTML页面中,哪个html文件必须显示文件
file.txt?
非常感谢
P.Pietro
Hi at all,
how can I do to insert into a HTML page a file .txt stored in the same
directory of the server where is the html file that must display the text
file.txt?
Thank you very much
P.Pietro
你不能使用javascript。
使用服务器端的PHP它'很简单:echo file_get_contents(''file.txt'');
Joakim Braun
You can''t with javascript.
With server-side PHP it''s as easy as: echo file_get_contents(''file.txt'');
Joakim Braun
它更容易使用HTML:
< iframe src =" file.txt">< / iframe>
(假设浏览器支持< iframe>)
-
Grant Wagner< gw ***** @ agricoreunited.com>
comp.lang.javascript常见问题 - http://jibbering.com/faq
文章< VJ **************** *****@twister2.libero.it> ;, A.M.
< NO **** @ eurotime.it>写道:
In article <VJ*********************@twister2.libero.it>, A.M.
<NO****@eurotime.it> wrote:
大家好,
我怎样才能将一个文件.txt插入到HTML页面中,该文件存储在服务器的同一个目录中必须显示文本的html文件
file.txt?
非常感谢P.Pietro
Hi at all,
how can I do to insert into a HTML page a file .txt stored in the same
directory of the server where is the html file that must display the text
file.txt?
Thank you very much
P.Pietro
搜索信息在iFrame上。它不是javascript而是HTML
解决方案。它基本上是一个框架,可以插入
页面的任何位置。我知道它会显示HTML,我很确定它会显示一个文本文件但是我可能错了。
-
Dennis Marks
http:// www.dcs-chico.com/~denmarks/
回复电子邮件地址的邮件将被退回。
访问网站以获取有效的电子邮件地址。
----- =通过Newsfeeds.Com发布,未经审查的Usenet新闻= -----
http://www.newsfeeds.com - 世界排名第一的新闻组服务!
----- ==超过100,000个新闻组 - 19种不同的服务器= -----
Search for information on iFrame. It is not javascript but an HTML
solution. It is basically a frame that can be inserted anywhere in a
page. I know that it will display HTML and I''m pretty sure that it will
also display a text file but I may be wrong.
--
Dennis Marks
http://www.dcs-chico.com/~denmarks/
Mail to the return email address is bounced.
Go to web site for active email address.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
这篇关于FILE.TXT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!