Questions tagged [verify]
676 questions
-1
votes
2 answers
Verifying Files In A Folder Based On Line Count
Ok, I'm trying to figure the best way to verify the contents of a folder based on another count via a listbox. Let me further explain.
Here is my current code to count the number of PDFs in two different locations and total them together for a grand…

Muhnamana
- 1,014
- 13
- 34
- 57
-2
votes
1 answer
How to verify ECDSA signatures with python
I am trying to verify an ECDSA signature which is 71 bytes with Python using ecdsa package. Here is my code:
import ecdsa
from hashlib import sha256
sig =…

MJay
- 987
- 1
- 13
- 36
-2
votes
1 answer
Button redirecting to php file
when i press the 'continue' button i'm redirected to form's php functions file ( localhost/install/hamburgher.php ),but that must check if the code is correct or it will display an error.
hamburgher.php (functions on clicking of the button):

Top Kenzo
- 7
- 4
-2
votes
1 answer
Verify true with array
I'm trying to create a loop to verify that all the numbers found in .offer_no span are not = 0 and return true if all numbers = 0. Currently I have written, but I'm not sure how to create the verification loop.
$(".offers_container").find(".offer_no…

Openset
- 13
- 2
-2
votes
1 answer
calling an argument as a string not working - C
I'm trying to write a function that will take an input and return it when it is valid
The function is constantly printing the error message even if the input is correct.
How can I pass the argument through to verify without it being evaluated as…

James Carron
- 3
- 3
-2
votes
1 answer
what is the best way to check if the text of an element contains a predefined text
I am composing an email and sending it to myself. I want to verify the title and the body has the same text I gave
(note: the body might contain extra text like the signature added to it)
What is the best way in selenium to verify if the body…

Ashvitha
- 5,836
- 6
- 18
- 18
-2
votes
1 answer
Variable $hash. PHP 7
This login code is worked, but how did '$hashedpass' with hashed pass "$2y$10$..." variable?
Again.
I need variable function '$hashedpass'.
How give '$hashedpass'from DATABASE? Every user has variable pass/hash.

danilabodrov
- 1
- 1
-2
votes
1 answer
verify if input on password-input-type-box is correct show button that will link to another page?
I need a (custom css button. I already have the style but i just need some codes) button that is hidden at first, and if the input in the password box is correct then pressing 'submit' would create another button above/below it that says 'proceed'.…

Nolan Kr
- 81
- 12
-2
votes
2 answers
Program in prolog to verify order of a list of numbers
I'm trying to make a program in Prolog to verify order of a list of numbers and return YES or NO.
Example:
[1, 2, 3, 4]
Yes
[1, 3, 4, 2]
No
I get this code on the internet to see if works:
domains
x = integer
l = integer*
predicates
…

Gabriel Targon
- 9
- 4
-2
votes
1 answer
C++ Finished Random Guess my Number Game Lookover
I was wondering if someone could look over my code for this "Random Guess my Number Game".
Here is all of the code:
#include
#include
#include
#include
using namespace std;
int PlayerNumber, x;
bool win =…

user2635139
- 59
- 1
- 2
- 7
-2
votes
1 answer
Form placement in a div
I tried to create a form that covers almost all of the content of my page. Since the input field is scattered, it verifies but still proceeds to the next page afterwards. I don't know what the problem is; it works fine in HTML and PHP formats when I…

Link
- 303
- 1
- 5
- 13
-3
votes
2 answers
Testing if blocks with Mockito
I have void function that does not return return anything with a if block inside. Is there a way while unit testing to verify if the "if" block is touched?
for example to test the "if" inside the following funtion:
public void doSomething(){
…

vdk
- 269
- 4
- 9
-3
votes
1 answer
javascript - Stop download the site when password is false
I'm writing a simple Code Verify
So can I forcing the site to stop downloaded when the code is false with javascript?
My example:
…

Bluga
- 29
- 5
-3
votes
1 answer
Need to verify size of an array in unit testing
Class Elem{
private ArrayList arr = new ArrayList<>();
public void addElement(someType var) {
arr.add(var);
}
public someType bestelement() {
someType first= arr.get(0);
arr.remove(0);
return…

Rahul Bharti
- 19
- 3
-3
votes
1 answer
PHP password_verify PDO returns false every time
I have this PHP code. The variable $password has the right password static assigned (no user input to validate).
$data['password'] returns the right hash too, when printing it out with echo.
But somehow the password_verify function doesnt work in…

Tewdyn
- 687
- 3
- 16