M
Martin Mrazek
Hi,
I'm saving some data from HTML form on user's PC. In JS it's like
function saveToFile( filePath, content) {
var fso, ts;
var ForWrite = 2;
fso = new ActiveXObject("Scripting.FileSystemObject");
ts = fspenTextFile(soubCesta, ForWrite, true);
ts.Write(obsah);
ts.close();
};
}
This works properly, when I run the html document containing this
script NOT using Apache, but directly from my disc. When I put the
document to apache2/htdocs and run it by http://localhost/ the damned
saving doesn't work. (Ofcourse I try it under IE).
Please advice!
Martin
I'm saving some data from HTML form on user's PC. In JS it's like
function saveToFile( filePath, content) {
var fso, ts;
var ForWrite = 2;
fso = new ActiveXObject("Scripting.FileSystemObject");
ts = fspenTextFile(soubCesta, ForWrite, true);
ts.Write(obsah);
ts.close();
};
}
This works properly, when I run the html document containing this
script NOT using Apache, but directly from my disc. When I put the
document to apache2/htdocs and run it by http://localhost/ the damned
saving doesn't work. (Ofcourse I try it under IE).
Please advice!
Martin