All Questions

3
answers

What is Gzip? How does it improve a website?

How exactly does Gzip improve the performance of a website? I wanted to know what it's like under the covers. I've seen that some sites that test the speed of other sites usually check gGzip, but what's this? How exactly does it work?...
asked on 07.02.2017 / 13:40
3
answers

Is it OK to omit the html start tag in HTML5?

Should we omit the html start tag in an HTML5 document? Many developers ignore its use. Thank you! <!DOCTYPE html> <head> <title>...</title> </head> <body> <p>Tag html foi omitida!...
asked on 26.03.2016 / 16:58
2
answers

Swap blanks for% 20 in Java

I have the following URL: String Url = "www.minhaUrl/pagina/meus parametros tem espaços em branco"; I need to turn it into: String Url = "www.minhaUrl/pagina/meus%20parametros%20tem%20espaços%20em%branco";     
asked on 15.03.2017 / 18:07
5
answers

Is it safe to use $ _GET in PHP? (URL parameter)

In the past it was very common to visit web pages and see the URL parameters being passed right there, on the # My question is: Is it still safe to use parameters in the url? If not then why is it still used on "famous" sites? Exam...
asked on 30.06.2015 / 14:55
3
answers

What is the integer argument in exit?

In PHP, when we want to terminate a script, we usually use the exit function. When we use strings, it terminates the script and prints this string . Example: exit('Stack Overflow'); // Stack Overflow However, if we use a val...
asked on 31.07.2015 / 17:22
2
answers

After all, is Java a platform or a programming language?

I see several materials referring to Java as a technology (platform) and others as a programming language.     
asked on 02.01.2018 / 21:57
3
answers

Is there any nomenclature for variables defined by underline / underscore?

I know there are some rules and conventions for naming variables in programming, such as CamelCase , PascalCase , etc ... What is the term used for a compound name variable (words separated by "_")? Example: nome_da_variavel...
asked on 26.06.2017 / 22:02
5
answers

When is it necessary to use ISSET?

I would like to know when it is really imperative to use isset in PHP variables, especially in the case of forms. What happens is that I'm creating a large form, with some 200+ fields, that will perform calculations and other functions...
asked on 14.04.2015 / 17:26
4
answers

capture option value with jQuery

I have the following select in html. <select name='busca' onChange='link()'> <option value="1">OP1</option> <option value="2">OP2</option> <option value="3">OP3&l...
asked on 17.11.2016 / 11:44
3
answers

How to convert a string variable to int?

As I correctly declare an integer value, it is returning that my variables are strings . n1 = input("informe um número ") n2 = input("informe um número ") soma = n1 + n2 print ("O resultado da soma de ", soma)    report a number 25   r...
asked on 17.09.2015 / 22:52