Jump to content

RaRa3

Members
  • Content count

    32
  • Joined

  • Last visited

Community Reputation

1 Neutral

About RaRa3

  • Rank
    Newbie
  1. hash in PHP

    yes thats how it is working
  2. hash in PHP

    oh okay sorry, i got you thanks
  3. hash in PHP

    yes in the database its encrypted but if the user wants to login then they have to put in the encrypted password, but it should be the original password they created thats what im having trouble with
  4. hash in PHP

    Wow Thanks so much you helped me a lot! but i have a question now, it does store a hashed password into the database, but now if i was to have someone login after registering they cant use the password they created the hashed one is the one that works, how can i make it so when the user logs in they use the password they created? is that possible?
  5. hash in PHP

    well its jsut gor a project now so something simple to show "security" thanks for your comment
  6. hash in PHP

    Nevermind
  7. hash in PHP

    none
  8. how to set a login page

    thanks for your comments well its actual for a project im working on its not offical im running it on a local host it just has to prove that the user exists and can log in after he or she registers
  9. how to set a login page

    hello so i created a registration page in html and a php code to connect to a database and enter the information to the database that all works. Now i want to ask if the user wants to log in would they need a separate php code to have a sort of certification that the account is valid? i made a html page for login but i need it to look back to the database to see if the user is registered so they can log in, not just anyone can log in...any ideas? or advice where i can find information about this? i see a lot of tutorials for making a log in page, making a registration page but how about when someone registers and wants to log in but to make sure the database can also check to see if the user is registered.
  10. registration php

    thanks so much! i got it to work! now im working on a login, thank you!
  11. registration php

    Connected successfullyNotice: Undefined index: firstName in /Applications/XAMPP/xamppfiles/htdocs/register.php on line 7please fill the empty field. i fixed it and got connected successfully but i still dont see an error in that line..idk
  12. registration php

    okay ill check it out, thank you!
  13. registration php

    should the line look like this? $conn = localhost(‘Shop','root','password'); thanks im going to read about it now does it mention about how sql works with php?
  14. registration php

    i updated my codes
  15. registration php

    ohhh okay well im using textedit i have a mac, i know i should use netbeans or something but idk i feel comfortable with textedit, now also im getting an error for the connect php file Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Applications/XAMPP/xamppfiles/htdocs/connect.php on line 7Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Applications/XAMPP/xamppfiles/htdocs/connect.php on line 7Connection failed: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
×