All Questions

1
answer

Limit number of decimal place characters javascript

The user can enter values into an input text. What happens, I want to limit the number of characters after the period. Valid example:    2.324       2343423.432 That is, the user can not enter more than three decimal places. Each time a...
asked on 20.08.2015 / 11:37
1
answer

Secure REST Authentication in PHP

I am wondering how to work with system authentication using restful. In my case there will be user / password and permissions / hierarchies for the user, and until then as the most interesting solution found in searches was the work with token,...
asked on 20.03.2015 / 13:00
1
answer

Problem Migrating MySQL Database to SQL Server

I am not able to migrate a database from MySQL to SQL Server, using Database Migration from MySQL Workbench. In SQL Server Server authentication, it uses login sa, I have already tried to reset the login password, but I could not. I also trie...
asked on 19.08.2015 / 06:47
1
answer

Predict a result by probability

I would like to know if you have a sequence of 10 numbers to predict the next 10 numbers. These 10 numbers are in a range of 0 to 100. Better explaining the situation: 10 numbers are randomly generated every day. I would like to take the...
asked on 30.03.2015 / 14:27
2
answers

How to make a select from a Night time period (6:00 pm to 6:00 p.m.)

Description: Count how many times the action occurred in the night time considering the time from 6:00 p.m. to 6:00 p.m. There is a better way to do such a select without having to use or to compare the periods? select count(*) as contado...
asked on 03.03.2015 / 15:14
1
answer

Querying the status of PayPal transactions by URL

Is there any way to return transaction information via transaction id in PayPal? Example ( API PagSeguro ): link The most I could find was: paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id=7DJ47958EX567045P This is exactly what...
asked on 23.02.2015 / 01:57
1
answer

What are the good points of using View Engine Aspx instead of Razor?

When I search on ASP.Net MVC , I always find all examples of views with Razor (I do not remember exactly if I saw any in aspx) and in the past I remember that I could select this View Engine when creating a new one web applic...
asked on 05.03.2015 / 18:03
1
answer

How to solve the conflict between AngularJS and Django?

What is the most efficient way to solve the conflict problem between Django and AngularJS when using {{ }} in templates?     
asked on 19.03.2015 / 02:41
2
answers

Recover image and return to function

I need to pass an image file to a certain function, this function normally receives the image of an upload like this: $filter = new ImageFilter; $score = $filter->GetScore($_FILES['photoimg']['tmp_name']); But I need to pass an image alr...
asked on 04.03.2015 / 19:14
1
answer

Move Browser Image

I'm moving an image with the mouse. When I use Chrome it works perfectly. But when I use the Firefox browser, moving the image shows the ban icon on the mouse, and the move is different. How can I resolve this? Example: link     
asked on 24.03.2015 / 18:01