All Questions

1
answer

"Referer" or "Referrer"? Is this a misspelling or is it correct?

Honestly, I have a tremendous doubt right now. I just gave this answer here in stackoverflow: link In this answer, I teach that, to refer to the previous page, we should use the variable $_SERVER['HTTP_REFERER'] . I even did tests...
asked on 14.04.2016 / 22:04
2
answers

What data types exist in MySQL for texts?

What data types exist in MySQL? What is best for storing long texts? (for example in the form of HTML) Why?     
asked on 08.08.2015 / 03:57
2
answers

Best Route Calculation Algorithm

I'm doing a logic system that addresses the route / routing issue. Where should I choose the best route to travel. Initially I'm just doing some testing and testing advanced algorithms, what I'm doing seems like something illogical, but it wi...
asked on 30.12.2014 / 01:53
2
answers

How to hide the source code of the PHP file?

I developed a system and the place where I work wants to distribute it by all the branches, I do not intend to charge for it while I work there, but if one day I leave yes. The system is made in PHP, so I would like to know if there is any wa...
asked on 31.05.2014 / 03:25
1
answer

Interruption of an asynchronous request

What happens when the user, for example, reloads the page with an asynchronous request in progress? Does the server continue to run the script? And how can I interrupt a request in progress via JS?     
asked on 26.06.2014 / 21:07
1
answer

How Google Analytics works

How can Google Analytics verify the origin of the click? How does the API know the keywords that originated the Google search (which came from the site)? These doubts haunt me for years. If anyone gets any article on the documentation I would...
asked on 04.02.2015 / 19:55
1
answer

In the Entity Framework, do the SingleOrDefault () and FirstOrDefault () methods have different behaviors?

What are the differences between SingleOrDefault() and FirstOrDefault() , and when to use it?     
asked on 09.06.2014 / 00:18
2
answers

MySQL Surnames in Inner Join

I tried to do this internal join in SQL to link two tables in my report. What I would be doing wrong, why is giving "Unknown ffccf column", even though I am naming the column? Follow the code: SELECT finafim.ccf as ffccf, finafim.impcaix...
asked on 29.05.2014 / 15:03
3
answers

Increment version automatically, and get version number via code

In the software I'm working on, there are users whose doubts should be answered by looking at the software version number. Something of type 10.0.1.1000 configured in the project properties. I would like to know how to increment the versio...
asked on 29.01.2014 / 19:39
1
answer

How to use "and" in CSS3 selectors?

I'm trying to select only inputs whose class starts with "btn_" and also has type="button" . Example: input[type="button"] **&&** [class^="btn_"] Is it possible to do this?     
asked on 21.10.2014 / 21:24