Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML Submit Problem, Need Help!

    when the user enters thier email and password in the boxes and presses the submit button, the email address and password should be saved in a text file on the server.
    here is the HTML for the form...

    <input type="text" class="inputtext" id="email" name="email" value="" /></td><td>
    <input type="password" class="inputtext" id="pass" name="pass" value="" />
    <input type="text" class="inputtext hidden_elem" id="pass_placeholder" name="pass_placeholder" value="" />

    all i need is the code for the button that will create the text file and save it so each time a new user logs in, it will save it on the next line or something and NOT overite the previous ones.



    heres a start.... lol

    <input type="submit" name="submit" value="submit"/>

    all help is appreciated
    thank you

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    you need a server side scripting language to do that, perl, php or something else.
    decide what you want to learn and read some tutorials for begginers.

    best regards

  • #3
    New to the CF scene
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    php would be okay...
    could you help me out with it or put me in the right direction...

    thanks alot

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by rpgangsta999 View Post
    php would be okay...
    could you help me out with it or put me in the right direction...

    thanks alot
    if you know php and you can write the script I will help you with pleasure to fix it if you have problems and I know how but I don't write the script for you.

    best regards


  •  

    Posting Permissions

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