Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-31 18:55:56

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Accessing the (windows) filesystem with JavaScript

It seems that in order to convert some files I received from Rick Siletti to XML for use with the reference panel in Dreamweaver JavaScript would be handy to use.

However, the problem I forsee I’ll run into is accessing the filesystem as browsers don’t allow this for obvious security reasons. Could I use php to handle the files and e.g. read a file and pass that data onto a string in javascript ?

Or are there (open source/freeware) code editors with built javascript interpreters that allow access to the filesystem? Anyhow, If anybody knows of a rather uncomplicated solution, I’d be grateful to hear.

edit: tried to make some sentences a little easier to read

Last edited by JanDW (2009-01-31 19:00:36)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB