Jump to content


Photo

writing to txt file


  • Please log in to reply
1 reply to this topic

#1 signature16

signature16
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 16 March 2006 - 03:33 AM

how do i write text to a file? i am just looking into doing this and i dont know where to start. can somebody point me in the right direction?




#2 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 16 March 2006 - 03:39 AM

do a google for +"php" and fopen() fwrite()
(fopen() is real, unsure about fwrite(), I may have just made that up.)

I can do it but only ever tried to write 1 line in the file.
example
[a href=\"http://www.oznett.com/helpfull/php\" target=\"_blank\"]http://www.oznett.com/helpfull/php[/a]
- Humpty
  #> Where does the light go when it goes out?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users