in Education by
I have this php code: $password = sha256($_POST['password']); but when I run this code it says: Fatal error: Call to undefined function sha256() in .... on line ...ix it as What is wrong with this code and what must I do to fix this as I know that sha256 exists. I have also tried: $password = sha256(trim($_POST['password'])); But that doesn't work either. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
You can use hash( 'sha256', $string ); See http://de.php.net/manual/de/function.hash.php

Related questions

0 votes
    I have this php code: $password = sha256($_POST['password']); but when I run this code it says: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    I have this php code: $password = sha256($_POST['password']); but when I run this code it says: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    I have this php code: $password = sha256($_POST['password']); but when I run this code it says: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    I have a rails application which is api only i am using gem rails-api. Now I am trying to create ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 26, 2022 in Education by JackTerrance
0 votes
    I have 2 models: class Annotation include Mongoid::Document belongs_to :event field :desc, type: String end ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 23, 2022 in Education by JackTerrance
0 votes
    I am trying to patch two functions within the Chosen jQuery library, however, no matter what I have tried ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I'm getting into user scripting with tampermonkey and can't get through this error, any help would be ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    According to ISO C++, dereferencing a null pointer is undefined behaviour. My curiosity is, why? Why ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    How can we define undefined value' in R language? (a) Inf (b) Sup (c) Und (d) NaN The question ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    I'm trying to compile GTK+ 3 with ATK 2.2.0 on CentOS, but am getting an error with ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
0 votes
    Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Facebook", referenced from: objc-class-ref in ... Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
0 votes
    I'm trying to compile GTK+ 3 with ATK 2.2.0 on CentOS, but am getting an error with ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Facebook", referenced from: objc-class-ref in ... Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    What does stack overflow' refer to? a. accessing item from an undefined stack b. index out of bounds exception ... from an empty stack Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    What does stack overflow' refer to? a. accessing item from an undefined stack b. index out of bounds exception ... from an empty stack Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
...