Reading from a file on client side
Posted: Tue Dec 16, 2003 10:38 am
Hello,
I am trying to use the fopen function to read from an XML file on the client side.
What I have done is to make a flash movie (offline) open the URL:
http://somewhere.com/readfile.php?file=c:\temp\file.xml
The script will then open and read the xml file and do what it has to. When this script is run I get a 'unable to open file' error.
I realise that this can work perfectly if the XML file is located on the server but if anyone has any ideas on how to read from a file on the client side you will surely make my week!
Thanks!
Dee
I am trying to use the fopen function to read from an XML file on the client side.
What I have done is to make a flash movie (offline) open the URL:
http://somewhere.com/readfile.php?file=c:\temp\file.xml
The script will then open and read the xml file and do what it has to. When this script is run I get a 'unable to open file' error.
I realise that this can work perfectly if the XML file is located on the server but if anyone has any ideas on how to read from a file on the client side you will surely make my week!
Thanks!
Dee