How to encrypt a password that is inserted into a MySQL table?

|
2021-11-19 07:58:06
thanks!
de_velop_er 2021-11-19 08:59:11
Undefined type error is what innphp
de_velop_er 2021-11-19 08:59:54
codeslide-50331.jpg
I donno y it shows red line
de_velop_er 2021-11-19 09:00:04
Please help me
Namlee_dev 2021-11-19 09:02:02
Please move your mouse to red line to show error. May be only warning
de_velop_er 2021-11-19 09:02:17
K
de_velop_er 2021-11-19 09:02:42
codeslide-50335.jpg

Seo J 2021-11-19 23:25:07
What errors?
heartless980 2021-11-20 00:15:52
How can i do that
I have a form with following field name, email address, phone and address
And also have address search filed
When user search address . So address related field auto filled. After this i want to submit all fields to url But i have done this operation using two form tag and now how i can merge two form operations in one form using jQuery.
Bablu 2021-11-20 06:42:52
How to encrypt a password that is inserted into a MySQL table?
Bablu 2021-11-20 06:43:04
……..??
Hunter_is_here 2021-11-20 07:36:33
Bablu 2021-11-20 06:42:52
How to encrypt a password that is inserted into a MySQL table?

bcrypt

helloworld770 2021-11-20 07:37:40
$con=mysqli_connect(“localhost”,”root”,””,”users”); // Check connection if (mysqli_connect_errno()) { echo “Failed to connect to MySQL: ” . mysqli_connect_error(); } $sql=”INSERT INTO users (username, password, email) VALUES (‘$_POST[username]’,’$_POST[password]’,’$_POST[email]’)”; if (!mysqli_query($con,$sql)) { die(‘Error: ‘ . mysqli_error($con)); } echo “Thank you.”; mysqli_close($con);
helloworld770 2021-11-20 07:40:43
$hashed_password = hash(‘sha512’, $_POST[‘password’]);
helloworld770 2021-11-20 07:41:28
INSERT INTO users (username, password, email) VALUES (‘$_POST[username]’, ‘$hashed_password’, ‘$_POST[email]’);
helloworld770 2021-11-20 07:42:05
$escaped_username = mysqli_real_escape_string( $con, $_POST[‘username’] ); $escaped_email = mysqli_real_escape_string( $con, $_POST[’email’] );
Varun 2021-11-20 08:01:27
I have php code ,can someone tell How to run that?
helloworld770 2021-11-20 09:29:51
Varun 2021-11-20 08:01:27
I have php code ,can someone tell How to run that?

Download wamp or xampsever and run code on localhost by selecting that file.

helloworld770 2021-11-20 09:31:32
Save your files in wamp www folder make one folder in www folder store save there your all the files
Varun 2021-11-20 09:41:39
helloworld770 2021-11-20 09:31:32
Save your files in wamp www folder make one folder in www folder store save there your all the files

But it is showing some errors bro

helloworld770 2021-11-20 09:42:10
Let me see
helloworld770 2021-11-20 09:42:29
Share pic of error
helloworld770 2021-11-20 09:42:40
Run wampserver too.
helloworld770 2021-11-20 09:43:09
When it get green color.
Rahularyaaviation 2021-11-20 23:38:12
codeslide-50511.jpg

Rahularyaaviation 2021-11-20 23:38:40
How I can show location of particular cities
Rahularyaaviation 2021-11-20 23:39:55
Not all the similar location I want to display location of specific area or place or cities
2021-11-21 10:55:26
Than idk
aknam991 2021-11-21 11:40:50
codeslide-50552.jpg

aknam991 2021-11-21 11:41:07
Problem Localhost plz help
helloworld770 2021-11-21 14:34:20
Opened server?
helloworld770 2021-11-21 14:35:15
Check id password
helloworld770 2021-11-21 14:35:38
Copy this error and search on Google
fakmiv 2021-11-21 14:54:23
Your zlib.output_compression ini directive is turned on. This will not work well with output buffers
fakmiv 2021-11-21 14:54:37
who can solve this error on a shared hosting
|