Jump to content

RaRa3

Members
  • Content Count

    32
  • Joined

  • Last visited

Everything posted by RaRa3

  1. RaRa3

    hash in PHP

    yes thats how it is working
  2. RaRa3

    hash in PHP

    oh okay sorry, i got you thanks
  3. RaRa3

    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. RaRa3

    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. RaRa3

    hash in PHP

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

    hash in PHP

    Nevermind
  7. 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
  8. 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 s
  9. RaRa3

    registration php

    thanks so much! i got it to work! now im working on a login, thank you!
  10. RaRa3

    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
  11. RaRa3

    registration php

    okay ill check it out, thank you!
  12. RaRa3

    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?
  13. RaRa3

    registration php

    i updated my codes
  14. RaRa3

    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_g
  15. RaRa3

    registration php

    oh thanks i missed that i dont know why anytime i edit a word in quotations it automatically changes the delimiter, but also i have a question for that line $conn = mysqli_connect($Shop, $root, $password); my database name is called shop, and the username is root and the password is a actual password but i put password so i dont reveal it, now do i actually change them to fit the description of the database or put $hostname, $username, $ password ? does the "$" also need to be included?
  16. RaRa3

    registration php

    hello so i am making a registration page using html and php, i need to make the information send to mysql that i made with table but i never made select statements..i am not sure on how to make it i need help i am new to this so please bare with me. So I this code to connect to mysql none I am not sure how to fix it i know there must be a problem with the code for the submit line and with the isset. I got them from another user but made minor changes to fit my database. My database has 2 tables one named UserAccount with the information listed in the registration page and then another table n
  17. RaRa3

    PHP in MAC

    oh thank you that worked! i didnt know sorry im new to php. is there any other way? it only can run on a local host or be viewed in local host?
  18. RaRa3

    PHP in MAC

    --
  19. RaRa3

    PHP in MAC

    i did that it is in the htdocs folder but any php file i open i get an error
  20. RaRa3

    PHP in MAC

    well i have xampp but it still isnt helping run php codes i will try mamp
  21. RaRa3

    PHP in MAC

    hello i have a problem i just want to run a simple php code, it use to work but i think once i updated to Yosemite something changed im not sure. So i want to create a php code that links with a database, but right now im doing a test code and i get nothing. I use XAMPP and i turned everything on and i used netbeans and set a php file hit run and i get "Object Not Found!" what is there i need to do? I know in XAMPP there PHP extension that can be turned on but when i use terminal to enter the code lines i get command not found. I need help please i just want to run right now this code:
  22. okay thanks i did do that, by doing that it should act like if it running on a server? thanks again, you have helped a lot
×
×
  • Create New...