www.webdeveloper.com
Results 1 to 3 of 3

Thread: Write to txt file

  1. #1
    Join Date
    Apr 2009
    Posts
    66

    Write to txt file

    hey everybody!

    I'm really bad at PHP and I need a form and script that can write to a txt file

    the file is slogin_users.txt and I need it to be like this:

    Code:
    <form>
    <input type="text" name="username">
    <input type="text" name="password">
    <input type="button" value=" Register">
    </form>
    Username=" Testuser"
    Password=" Testpass"

    And it would output like this in the txt file

    testuser, testpass<SPACE>testuser2, testpass2 Ect...


    Thanks

    Fire Cat

  2. #2
    Join Date
    Apr 2009
    Posts
    66
    Quote Originally Posted by Fire Cat View Post
    testuser, testpass<SPACE>testuser2, testpass2 Ect...
    The space must be a simple space, not the word SPACE

  3. #3
    Join Date
    Oct 2008
    Posts
    150
    Your best bet:


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles