Posts by Fabio Carpi • 57 points
8 posts
-
0
votes1
answer18
viewsA: webauthn not working
I found out on the website https://docs.microsoft.com/en-us/microsoft-edge/dev-guide/windows-integration/web-authentication that Windows Hello uses the RS256 algorithm. Then the code would look like…
-
0
votes1
answer18
viewsQ: webauthn not working
I am trying to use (and learning) webauthn on my website, but the "Platform" authentication method does not work, returning the error Domexception: The Operation either timed out or was not allowed.…
-
0
votes3
answers201
viewsA: NOTICE Notice: Undefined index
Taking advantage of the friend’s answer above, simplify using null coalesce: $pergunta1 = $_POST["pergunta1"]?? ""; $pergunta2 = $_POST["pergunta2"]?? ""; $pergunta3 = $_POST["pergunta3"]?? "";…
-
0
votes1
answer37
viewsA: Drag and drop problem on JS
I solved the problem. If I take onmousedown out of the document and move to the window title bar, resolve! function Drag(Janela, Bar){ var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; Janela =…
-
0
votes1
answer27
viewsA: Javascrit when moving the mouse over a mobile phone, change the text of the cell
You don’t have to use JS for this. You can only do it with CSS: .item:hover { color: #0f0; } <table> <tr> <td class="item">Texto 1</td> <td class="item">Texto…
-
-1
votes1
answer37
viewsQ: Drag and drop problem on JS
I use the following code to move Ivs (I don’t know if this is called drag and drop) function Drag(Janela){ var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; Janela = document.getElementById(Janela);…
-
3
votes1
answer313
viewsQ: Regex to capture spaces, except within quotation marks
I would like a regular expression (PHP) to exclude double spaces out of quotes. update tabela set¬ nome='alberto da silva',¬ telefone='1234'¬ ) I want to capture double spaces, enters, tabs out of…
-
2
votes0
answers75
viewsQ: Make Openssl work in PHP
I’m trying to make the openssl extension work in php, but I can’t. I am using php 7.3.5 and Windows 10 internal server. Here’s what I’ve tried: $dir = __DIR__ . "\\openssl.cnf";…