Article View: pl.comp.lang.javascript
Article #248Re: 'inlcudowanie' plikow przez java/javascript
From: CHARA
Date: Sat, 05 Jan 2002 19:39
Date: Sat, 05 Jan 2002 19:39
23 lines
1559 bytes
1559 bytes
Spróbuj tak. Skrypcik wyświetli zawartość pliku autoexec.bat;
<html>
<head>
<title>PLIK</title>
</head>
<body>
<pre>
<script>
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.OpenTextFile("c:\\autoexec.bat", 1);
document.writeln(f.ReadAll());
</script>
</pre>
</body>
</html>
Pozdrawiam.
CHARA
Technical Details
Message-ID:
<a17n4c$5q3$1@news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.man.lodz.pl!newsfeed.silweb.pl!news.onet.pl!news.nowytarg.top.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mailReferences:
<7bc2.0000205f.3c35a1d5@newsgate.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.man.lodz.pl!newsfeed.silweb.pl!news.onet.pl!news.nowytarg.top.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: "CHARA" <chara@interia.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: 'inlcudowanie' plikow przez java/javascript Date: Sat, 5 Jan 2002 20:39:06 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 25 Message-ID: <a17n4c$5q3$1@news.tpi.pl> References: <7bc2.0000205f.3c35a1d5@newsgate.onet.pl> NNTP-Posting-Host: pa39.lublin.cvx.ppp.tpnet.pl X-Trace: news.tpi.pl 1010261966 5955 213.76.64.39 (5 Jan 2002 20:19:26 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 5 Jan 2002 20:19:26 +0000 (UTC) X-Notice-1: This post has been postprocessed on the news.tpi.pl server. X-Notice-2: Subject line has been filtered and leading Odp: string removed. X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-Subject: Odp: 'inlcudowanie' plikow przez java/javascript X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit