A
acord
Hi,
Can anyone tell me how to use XMLHTTPRequest or MS ActivcXObject open a
local file?
Thanks
Sam
Can anyone tell me how to use XMLHTTPRequest or MS ActivcXObject open a
local file?
Thanks
Sam
acord said:Hi,
Can anyone tell me how to use XMLHTTPRequest or MS ActivcXObject open a
local file?
Thanks
Sam
With regard to HTTPRequest (assuming it is running in a browser, and
security settings allow), just set the URI to the local file path, and
then read the text of the file using the responseText property.
Well, not true.
I can show how you can bypass that in userl.js for YOUR browser.
Other users will not be able to, not without additional
entries to user.js, but for your OWN needs, you can make it read YOUR
files by setting permissions, it will never even prompt you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.