gezmond
06-27-2005, 02:57 AM
Hi..
I am writing a script to read a CSV file and place text in layers, etc.. it works using a local datafile, but as everything we do is database or XML managed, I'd like to call a script to return the data.. but I can't get it to work over http. I am trying to us this:
var dbText = new File('http://www.myDomain.com/data.php');
dbText.open ('r');
and then read the lines into a array..
anyone tried this? any suggestions?
Thanks
Gez
I am writing a script to read a CSV file and place text in layers, etc.. it works using a local datafile, but as everything we do is database or XML managed, I'd like to call a script to return the data.. but I can't get it to work over http. I am trying to us this:
var dbText = new File('http://www.myDomain.com/data.php');
dbText.open ('r');
and then read the lines into a array..
anyone tried this? any suggestions?
Thanks
Gez