Writing to a textfile

Here’s the situation:

My site pretty much runs off separate textfiles. 2 questions:

  1. How can I write to a textfile
  2. Is it possibel to not only write but also read from a text file? for a FAQ section on my site.

Thanks, can’t seem to hack this one by myself :slight_smile:

oh, and also, I can’t do this using php, they (my job) refuse to install it on our webserver.

Hmm…I don’t think you can write to a txt file without PHP, you can read from it, but you can’t write to it.

really? there’s got to be a way no? how about using asp?

Yes, I believe with ASP you can, but I’ve never done it before.

ok thank man, i’ll have to look into this.

I would use PHP. :slight_smile: There’s a thread abou tit…

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=php+text

Oh, and yea, you need to use a Server-Side language in order to write to a text file. ASP, PHP, CGI or PERL i believe would work as well…

but we all know that I prefer php… :stuck_out_tongue:

If you need any help I’ll be online all day. You know how to contact me…

bah, stupid job.

Its basically the same method with ASP though… open file, read it, write to it… close it. viola

here’s something with ASP

http://beta.experts-exchange.com/Web/Web_Languages/ASP/Q_20413113.html

EDIT:

another: http://www.freevbcode.com/ShowCode.Asp?ID=89

cool thanks jubba, yea i know php would be better but unfortunatly the wont install that here on our webserver cuz of security issues :frowning: thanks for the link, i am going to check it out now…

good deal. :slight_smile:

stupid job… MS is a security risk… stupid sloppy coders…

good luck…

hmm well this looks like it could help me out. i think that second link will do the trick.

thanks again… oh and ill be bothering you agian tonight with some php/sql help ! lol :slight_smile:

i’m looking forward to it. :stuck_out_tongue: