Posts by João • 17 points
6 posts
-
0
votes0
answers241
viewsQ: Protection against attack ddos
My site is suffering DDOS type attacks, so what I read about this type of attack is that there is no 100% protection that can solve the problem. Is there any method that can at least slow or freeze…
-
-1
votes1
answer45
viewsQ: Picking up array values
I have the following array: array(2) { [0]=> array(2) { ["username"]=> string(6) "User01" ["quant"]=> string(1) "6" } [1]=> array(2) { ["username"]=> string(5) "Teste" ["quant"]=>…
-
0
votes1
answer36
viewsQ: Taking only the last record
I’m using this code to get the data between the current time and time registered in the comic $sql = "SELECT * FROM acessos WHERE hora > :hora GROUP BY username"; $sql = $pdo->prepare($sql);…
-
1
votes1
answer55
viewsQ: Detecting Keyword
I’m trying to make a keyword detection system. Type: "asdfghjlzzTESTEzzxcvbnm" And I have to put in the condition, to see if there is or not the X word if($palavraChave == "TESTE"){ echo "exist";…
-
0
votes3
answers525
viewsQ: Login without differentiating between capital letters and minusculas?
I am making a login system. In the table is registered a user "User01", when the customer will log in if he puts it in the field "user01" I want it to be valid anyway. Here’s the code I’m using.…
-
0
votes2
answers32
viewsQ: Register - comparison of existing or non-existent values
I’m doing a PHP registration system (working normal), my problem is the following table has a registration with the name "Test", and I wanted when registering another user with the name "Test" or…