Jump to content

Recommended Posts

md5 is for if somebody manages to hack into where you store your clients/customers/members passwords, that they will not be able to read the passwords or be able to use them for anything worthwhile. The security of md5 is debatable though as some claim they can decrypt it, but i am yet to see proof of this or see it for myself.

 

If you want your page to be truly secure, like maybe if users are submitting sensitive info, such as credit card details, you need to look into SSL.

so what's the differance? and how would i put that in the code jsut to make sure i'm on the right page

 

<?php

 

 

$host=localhost; // Host name

$username=tony; // Mysql username

$password=billy; // Mysql password

$db_name=test; // Database name

$tbl_name=clearbook; // Table name

 

 

 

?>

 

 

ball420:

everyone here is talking about hashing the users password (aka members of your site), i know you wish to hide the password stored for accessing the database, the fact is.. the way you have it is fine. of course you can improve on it but 97% of php coders do what you are doing with the password, just storing it in a config.php file,

 

just say you used the best encryption in the world.. you will need to decrypt it to use it.. so it would be the same as having the password stored as is.

 

 

 

Note: 97% was picked out of thin air

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.