Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
116 views

sodium_crypto_pwhash gives a different result in PHP and in node.js

I'm trying to encrypt a string on the front-end (node.js electron) and trying to decrypt it on the back-end (PHP) using sodium (I've tried libsodium-wrappers and sodium-plus). Everything looks good on ...
hybrazil's user avatar
0 votes
0 answers
109 views

how can i change a user's password using php and ajax?

When a user accesses the website through the login, a page profile.php is displayed which shows the user's data (the password is not shown) in a table and displays a form to modify this data. The ...
Miguel's user avatar
  • 21
-1 votes
1 answer
390 views

How to hide manager password from user on web app?

I am creating a web app on a LAMP stack where I have users with their own logins and passwords. Typical users of the application have limits on operations. For example they cannot approve an order ...
karozans's user avatar
0 votes
1 answer
665 views

print.js password protected pdf

I try to create a frontend which shows all PDF files from a folder as dropdown. The selected PDF should be silent printed over chrome kiosk printing mode. I'm a beginner with php and javascript, but ...
IP-Fan's user avatar
  • 1
-1 votes
1 answer
57 views

RTL passwords copy/ pasting issue

I'm developing a portal in RTL language with a password generator in php/ javascript that generates randomly passwords like F1O=a@9@ or 7$kf8F=og!$ However if i paste such passwords with special ...
Someone33's user avatar
  • 568
0 votes
1 answer
175 views

Take user id from php for change password

I have this code for change password on the personal page of the user on my website. The script working but the problem is that work's only on id "60". how I can take the id from the page and set in ...
user avatar
-1 votes
3 answers
1k views

Prompt asking for password then redirecting

I'm very new to PHP and JavaScript and I'm stuck. I spent a good 7 hours so far trying to figure this one out but I just do not know what or how to do it. So in my application, when you try to add a ...
Milan Toth's user avatar
-1 votes
1 answer
64 views

Pass JavaScript var to PHP inside JavaScript function

I know this question might be duplicated. But I still couldn't find the solution yet. Let's assume I have a form look like this function validateForm(){ var cryptedoriginalPassword = "<? ...
Nixoderm's user avatar
  • 355
-1 votes
4 answers
160 views

Password field from MySql to PHP

I'm trying to hide a password field from a MySql DB to my web app, but i just can't, I'm using a label to show the password field from the DB like this: <div class="control-group"> <...
Carlos Santiago's user avatar
1 vote
1 answer
582 views

Hidden password field not displaying php javascript

I have the following code and the intention is that on selecting a password protected quiz, the password input field is shown. If a quiz however, is not password protected (result==0), then the input ...
Compoot's user avatar
  • 2,377
-5 votes
1 answer
220 views

How do I get my code to accept more than one username and password?

I have a website that I "programmed" with HTML, and I found a script (JavaScript) to get a password for when the site is under maintenance. It currently only accepts a single username and password, is ...
mrnate72's user avatar
-1 votes
2 answers
335 views

Make a button visible after a PHP script has been executed [closed]

Hi all I have a requirement to make an add items button visible once the user has logged in im trying to test this with the below test code but am not sure of the best way to make a button visible ...
Kezabub's user avatar
  • 117
0 votes
1 answer
378 views

Save form input to cookie JSON but exclude password

Posting my very first question on Stackoverflow after a long research. I have a form and would like to store the input in a cookie JSON string. It works so far so good with the follwing script. But ...
Noly Bom's user avatar
-3 votes
1 answer
557 views

How to get selected string from password in input for login?

I have a login page where I have to input password like below example: username : abc password : 123456789 password will always being of 9 digits. Now for login user have to input 1st, 3rd and 8th ...
AMIT SUTAR MUMBAIKAR's user avatar
-2 votes
1 answer
101 views

how to Mask password like excel in php

I have been using excel sheet all this while to store my passwords like below we are moving all the excel data to MySQL database. I need to mask the password just like how I have been doing it in ...
Balaji Deshpande's user avatar

15 30 50 per page