Well I want to be able to read a text file into a variable. I have made something that writes a text file. Pretty much here's a not so good example, and yeah.. I dont feal like writing correct syntax but you get the idea.
ex.
dud = fopen("hi.txt");
//unsure how to do this properly.
if (dud ==...
Does anybody have a short (or long) example on how to save and load a text file from a client computer using ajax? I will be grateful for any examples/links.
Because I am having extremely wierd problems with cookie saving, is there a way to save files on clients computer? If not possible on client is it possible on server? I have tried searching google and going through books, but I haven't been able to find anything useful.
I have a text file called s1.txt, and it has one value of 12345. Can somebody post an example of how to read this file into a variable? My tries have been pointless, I can't get fopen to work for my purpose.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.