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 3 of 3

Thread: Set my password

  1. #1
    New to the CF scene
    Join Date
    Jan 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Set my password

    I switched hosting but didn't save the mysql data base. i cannot access my php login page. do you have an idea of how i can add manually the password for my website to mysql.

    http://hhbeautysupply.com/tool/index.php

  2. #2
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    3,329
    Thanks
    2
    Thanked 232 Times in 225 Posts
    The most obvious solution would be to recreate the database.

    Another option would be to alter your site to not use logins, or to allow it accept anything for the login. We can't show you how to do that because you haven't shown us any of your code.

  3. #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,728
    Thanks
    3
    Thanked 427 Times in 418 Posts
    How did you originally enter/add the login information? Do you have a register page? Is the information hard-coded into the php code? Did an installation routine or sample database .sql file create default users?
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.


 

Tags for this Thread

Posting Permissions

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