All Questions

3
answers

Why does the Scanner return an error in something that is expected?

Note that I typed a number, a text, and a number, as you request. import java.util.Scanner; class Ideone { public static void main (String[] args) { Scanner entrada = new Scanner(System.in); int valor1 = entrada.nextInt();...
asked on 14.12.2017 / 16:01
2
answers

What is the equivalent of the grep command in Windows?

In Linux, when I want to filter by a term when a command will generate a giant list, I use the command grep . For example: ls | grep "termo" However, in Windows there is no command grep . What would be the equivalent of...
asked on 27.06.2017 / 15:07
5
answers

Security in submitting information via form in the HTTP header

After a few tests on Yahoo and Facebook, I realized that after filling in my username and password and clicking Login, with the developer tools open in the Network option (Chrome or Firefox) I noticed that if I stop sending the data on the pag...
asked on 13.05.2014 / 03:58
2
answers

How could you make a pacman by moving your mouth with pure CSS?

In order to delve deeper into CSS, I would like to know different ways to make animations. My goal is to know some new properties and features that CSS has been implementing. In the specific case, I would like to know what would be the simple...
asked on 02.08.2018 / 21:23
3
answers

What is the difference between bindParam and bindValue?

What's the difference between PDOStatement :: bindParam () and PDOStatement :: bindValue ()?     
asked on 17.09.2015 / 06:27
3
answers

Apache does not start the service on windows 10

I'm using XAMPP and since I moved to windows 10 it comes with that, before it did not activate apache, then I looked for some tutorials on the internet and found this . Solved one of the problems, because after doing the steps in this video...
asked on 13.08.2015 / 02:13
3
answers

When using success: function () and .done (function ()) in asynchronous requests?

In a simple way, I can write an asynchronous request like: $.ajax({ url: url, dataType: 'json', type: 'GET', success: function (_user){ alert (_user) } }); that alerts me to the _user return. Also, I write...
asked on 27.07.2016 / 19:39
4
answers

strtoupper () with accents

The strtoupper() function of PHP is not transforming the letters with a capital accent, see example: echo strtoupper("virá"); // retorna VIRá Do you have a native function that solves this problem?     
asked on 03.09.2015 / 14:10
4
answers

Why and when to use XML instead of JSON?

JSON has at least two advantages over XML: parsing is faster Occupy less bytes There are still people who prefer XML. Is there any reason to prefer XML? Or in what situations is it most appropriate (and why)?     
asked on 06.06.2014 / 17:58
4
answers

Integer with 0 on the left is printed as another number

I have this code: $mob_numbers= array(02345674, 12345675, 22345676, 32345677); echo ($mob_numbers[0]); I wanted to print the first element of array but the output of that is:    641980 Why does this happen?     
asked on 14.03.2014 / 13:17