RussellDonders
Programmer
Hi,
I have a situation whereby I need to give the user the ability to define a range of variables via a text file (it's a non trivial dataset so it's not an option to just have the user input these directly via a flash form).
Basically I'd like them to type in a text box a location on their local hard drive (ie c:/directory/myfile.txt) where the file sits and then load it in.
This works fine on my hard disk and even on CD (I need to distibute this project in 2 forms both on the web and on CD) - but on the web server it fails. I assume that this sort of path (c:/) is either nonsense on the server, or is really pointing to the servers C:/ drive instead of the users ?
Anyway I was hoping someone out there may have a method of being able to point to the users hard drive to load variables from a txt file.
Any other suggestions are welcome as well. I have considered having an upload facility so the file is put on the server but would prefer not to have to do this at this stage.
Thanks,
Russell
I have a situation whereby I need to give the user the ability to define a range of variables via a text file (it's a non trivial dataset so it's not an option to just have the user input these directly via a flash form).
Basically I'd like them to type in a text box a location on their local hard drive (ie c:/directory/myfile.txt) where the file sits and then load it in.
This works fine on my hard disk and even on CD (I need to distibute this project in 2 forms both on the web and on CD) - but on the web server it fails. I assume that this sort of path (c:/) is either nonsense on the server, or is really pointing to the servers C:/ drive instead of the users ?
Anyway I was hoping someone out there may have a method of being able to point to the users hard drive to load variables from a txt file.
Any other suggestions are welcome as well. I have considered having an upload facility so the file is put on the server but would prefer not to have to do this at this stage.
Thanks,
Russell