...

View Full Version : Getfile problem



ramli
03-10-2005, 07:04 PM
i use this code to open a filestream

<SCRIPT LANGUAGE="JavaScript">

<!--
var fso = new ActiveXObject("Scripting.FileSystemObject");
fileObj = fso.OpenAsTextStream("G:\\key.key");
document.write(fileObj);
-->
</SCRIPT>

however this returns the filepath G:\\key.key i want it to read the file
and display this. how do i do this ??

Thanx in advance



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum