Save and read

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
senshi
-


Joined: 05 Nov 2003
Posts: 385
Location: UK

PostPosted: Mon Aug 23, 2004 1:57 am    Post subject: Save and read Reply with quote

Does anyone have any idea on how to open a file (text) and read in the information into an array or string variable.

Also the oposite, writing to a file (text) too.

I have seen some so called examples but hey dont do anything other than allow you to navigate to a file, the routine doesnt open the file just chooses, so IM asking if anyone knows how to read in the data.

The language... javascript.... the machine... local to the webserver, which is what I will be using. No need to worry about the fact its client side, the browser and server are on same machine.

Reason is I need to beable to save information to files and then use the files at a later date within the webserver.

Anyone got any ideas, and please, dont suggest javascripts.com, hotscripts, snippit the other one thats DHTML based and the other three obscure ones that only repeat the content of jacascripts.com and hotscripts.com. Been and done it and no good, dont tell me what I need to know which is why IM asking in here.....

In a bit.
Back to top View user's profile Send private message
senshi
-


Joined: 05 Nov 2003
Posts: 385
Location: UK

PostPosted: Mon Sep 06, 2004 2:55 pm    Post subject: Reply with quote

I have it sorted.

Took me a while but I found sme intresting info that was lurking in the bowels of MSDN. They are nice enough to give Jscript and VBscript versions of examples...

I got my file save and load sorted, nearly, its the appending bit that really screws up!

But I will have it sorted nodoubt sometime soon, I hope to have something intresting to play with soon.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group