FAQ Database Discussion Community


(PHP) LogIn script Doesn't work

php,redirect,login,sign
<?php //CONNECT TO DATABASE $db_host="localhost"; $db_username="root"; $db_pass=""; $db_name="admin"; @mysql_connect("$db_host","$db_username","$db_pass","$db_name") or die ("not connect"); @mysql_select_db("$db_name") or die ("no database"); echo "succesful connection"; //THEN I CHECK THE VALUES FROM MY FORM if($_SERVER ['REQUEST_METHOD']=='POST'){ $username=$_POST['username']; $password=$_POST['password']; $username=htmlspecialchars($username); $password=htmlspecialchars($password); //SEARCH INTO MY DATABASE TABLE $SQL="SELECT *...

String variable is not accepting “?” sign

javascript,string,variables,protractor,sign
I made code with: element(by.className('charge')).getText() .then(function(text){ var blabla = "Is this my string?"; expect(text.match(blabla)).toBe(true); console.log(text); }); And even is output of my console equal to my blabla variable, I'm getting result: Expected [ 'Is this my string' ] to be true. without any "?" sign. How is it possible?...

NSIS : Aborting creation process

timestamp,nsis,sign
I want to create an installer with signing without time stamp as my code below. But the build failed, aborting creation process in line: !system "$\"${SIGNTOOL_PATH}$\" sign /f $\"${KEY_PATH}$\" /p ${PASSWORD} /d $\"${FULL_NAME}$\" /du $\"http://www.companywebsite.com$\" $\"$%TEMP%\uninstall.exe$\"" = 0 So I commented this line and make build it again, then I...

Sign certificate in PKCS#11

openssl,certificate,sign,csr,pkcs#11
To sign certificate in OpenSSL I use X509_sign() function by feeding it with a request (as X509_REQ*), a signing key and a digest. Now I have my signing key stored in HSM, so I can't extract it to sign the certificate. Unfortunately PKCS#11 does not provide an equivalent to X509_sign()....

How can I sign my Windows Store app from Window Store certificate?

visual-studio-2013,windows-store-apps,certificate,sign
I have just bought my developer account from the Windows Store, and I would like to sign my app before uploading. When I go inside the packaging and then I click on the choose certificate button, I see following options: Pick from certificate store Select from file Create test certificate....

Translating mathematical functions from MATLAB to Python

python,matlab,numpy,sum,sign
I am currently working on a project which involves translating a program which runs in MATLAB to Python to increase speed and efficiency. However, I have hit a stumbling block. First, I am confused as to what the tilde(~) indicates in MATLAB, and how to represent that in a corresponding...

OpenCV traffic sign recognition

opencv,sign,surf,traffic
I'm coding a software (for my studies) for traffic sign recognition with an IP Camera, I have to, for the moment, recognize traffic signs like this: http://i.stack.imgur.com/yOTZb.jpg In my code, I'm doing a high transformation to isolate my traffic sign with a mask. Then, I do a SURF comparison (with...

Ways of generating a digital signature with .NET Framework

.net,visual-c++,c++-cli,smartcard,sign
What's the other way of creating a digital signature using a private key (that's on a smart card, with certificate installed in local certificate store) in .NET Framework other than this one, for I have no clue as to how to find out the key container name (and it seems...

How to extract the sign, mantissa and exponent from a 32-Bit float [duplicate]

c,sign,exponent,mantissa
This question already has an answer here: How to get the sign, mantissa and exponent of a floating point number 5 answers so I got a task where I have to extract the sign, exponent and mantissa from a floating point number given as uint32_t. I have to do...