PDA

View Full Version : writting to a .txt file


ls yourdaddy
08-26-2004, 08:40 AM
I am watning to use a .txt file for the main page of my website. I am wating it to post like PHP-NUKE. would I have to use fopen("file.txt","w") or would I have to use w+ or r or r+???

raf
08-26-2004, 09:04 AM
Welcome here!

Check out the FAQ-sticky at the top of thisforum, where there in an axplanation about reding from + writing to files.

4xz
08-26-2004, 06:41 PM
Or download this :
http://coders.fragism.com/dl/php_manual.chm

open the program, open tab 'index' and type fopen. This manual has all the answers :)

gsnedders
08-26-2004, 07:06 PM
Or download this :
http://coders.fragism.com/dl/php_manual.chm

You are presuming that he's on Windows?

4xz
08-26-2004, 07:12 PM
lol, yea tbh never tried opening compiled HTML on another OS, but reading your reply, I assume it's not possible :)

I still think the poster uses windows tho :)

gsnedders
08-26-2004, 08:21 PM
If you download software, it's possible on Linux...

4xz
08-26-2004, 08:54 PM
Prolly :) And u r on a mac ??

gsnedders
08-26-2004, 09:07 PM
Of course I am... now... time to start work on my CHM converter...

4xz
08-26-2004, 09:15 PM
lol, good luck ;-) Never had the pleasure to use a mac myself :o