Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Location
    Surrey
    Posts
    2,891
    Tokens
    0

    Latest Awards:

    Default Clearing script..

    like say I made a form and which it saves the info into a .txt (how do I clear that form without like editing it? is there any like script to erase it?)

    thanks + rep for anyone who helps

  2. #2
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    www.php.net/fwrite

    Look at that...

    Thanks
    Danny
    Last edited by Luckyrare; 11-12-2006 at 03:23 PM.

  3. #3
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    Delete everything from the text file?

    PHP Code:
    fclose(fopen('file.txt''w')); 
    kinda quit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •