#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 1999
    Posts
    32
    Rep Power
    16
    Rather than search through the manual for hours on end trying to find a useful function... I'm going to ask in this helpful forum.

    How would I be able to take the contents of a form, and write it to a text file, and then, be able to, each time someone submits a form it rewrites over the same text file?

    Thanks,
    -Sam
    -ceo- xgamerz.com
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 1999
    Location
    Denmark
    Posts
    83
    Rep Power
    15
    Read about 'fopen' and 'fputs'.
    you can open a file in append mode, that shold add your text to the existing file...

    ------------------
    regds..
    -ulrik-

Similar Threads

  1. Replies: 0
    Last Post: October 14th, 2003, 06:34 PM
  2. Displaying form input below htm page with form
    By gny in forum Perl Programming
    Replies: 3
    Last Post: October 2nd, 2003, 05:27 PM
  3. Writing to a File from my ASP page
    By sienaluke in forum ASP Programming
    Replies: 1
    Last Post: September 4th, 2003, 10:24 AM
  4. problem in writing tables in NS4
    By siiann in forum HTML Programming
    Replies: 0
    Last Post: July 24th, 2003, 11:17 AM
  5. Displaying pics from a temporary location
    By JonnyThunder in forum PHP Development
    Replies: 13
    Last Post: July 22nd, 2003, 01:58 AM

IMN logo majestic logo threadwatch logo seochat tools logo