All Questions

1
answer

Limit for strtotime function in php [duplicate]

I'm using the strtotime function as shown below, with cakephp. by passing the sum of 50 years it is returning null, the maximum that I can return is summing 20 years. Would anyone know if this is limiting / configuring cakephp or php itself...
asked on 25.01.2016 / 15:01
1
answer

Know which button was clicked

Friends, I have 4 buttons type <input tupe="button"> , each one has a different class because they are formatted in different ways. Both buttons have the same action, with different values only. I would like to know how to get these...
asked on 18.12.2015 / 12:53
2
answers

Check for installed components

In my project I have a built-in browser so the user can access a certain site that he needs. The browser works, except that it has requirements for the C ++ 2012 library and Flash. Is there any way to find out if these components are installe...
asked on 21.12.2015 / 12:40
2
answers

Play alert sound after bank query (PHP + MYSQL)

I need an alert sound to be played after a query on the bank ... Logical example: NUM_LINHAS = NUMBER OF TABLE LINES SE (NUM_LINHAS > 0) { play (); } My javaScript function that plays sound: <audio id="audio"> &...
asked on 16.07.2015 / 20:00
1
answer

How to make RegEx for a "serial" number format?

How to do RegExp in the following format: 2015.1.123.5432 Does anyone have any ideas?     
asked on 07.08.2015 / 00:18
1
answer

Install SQLServer with the application

I am finalizing an application and will compile using Inno Setup . The system I am using SQLServer . I will install the system on other computers. Is the database installed on the computers that will receive the application or do I have...
asked on 07.08.2015 / 21:48
2
answers

Improve code performance in C #

I'm doing some testing with some C # code and during an analysis I realized that some high peaking problems happen when whole-valued conversions to string occur, in most cases the conversion happens like this: classe.valor.ToString("0.0")...
asked on 31.07.2015 / 16:57
3
answers

How do I get the column number of the table in which an input I'm writing is?

I have text inputs on cells in a table. <table> <tr> <td>Bola</td> <td>Casa</td> <td>Arvore</td> </tr> <tr> <td><input type="text"...
asked on 20.08.2015 / 17:18
1
answer

Exception when you will generate boleto bancário with Boleto.Net

I have a system that generates Santander tickets using a specific DLL that has been downloaded from the internet. The name is "Boleto.net". I need to create a Bradesco ticket. I changed where the Santander bank data passed to the Bradesco data,...
asked on 05.08.2015 / 14:27
2
answers

What is the rule to convert a binary value to a negative number and vice versa?

I was left with a doubt after @bigown answered this question: What is the ~ (useful) operator used in PHP ? How can I get the negative value in binary? And how, through the binary, reach a negative value? In @bigown's response, he...
asked on 05.08.2015 / 18:35