All Questions

1
answer

PHP does not update .txt file data

I am doing an account counter for an application, which is stored in a .txt file. However, the file is always 0. If the file does not exist, it is created, with the value 0 written. However this is never updated whenever the app is viewed...
asked on 26.06.2014 / 16:06
1
answer

Div animation, no CSS3 for future position

I have a supposed product gallery, with divs aligned using {display: block; float: left;} I've caused some divs to disappear depending on the menu selected using fadeOut() and reappear with fadeIn() . I've created this cod...
asked on 24.05.2014 / 18:03
4
answers

Databases for different clients

I am learning MVC 4 and would like to know if there is a way to with only 1 model accessing different databases? For example, I have an online system and for each client I have a separate bank. What would be the best practice to do this?     
asked on 26.05.2014 / 14:54
3
answers

How to merge multiple frames into one

I want to create a data frame as a join of 4 other data frames. I was able to do this using these commands: ZHO<-as.data.frame.matrix(zho) ZHO ZES<-as.data.frame.matrix(zes) ZES ZRE<-as.data.frame.matrix(zre) ZRE POP<-as.data.frame...
asked on 28.05.2014 / 02:18
1
answer

Install plugin in Netbeans

I tried to install the plugins and it did not work. They are visible in the Settings tab. ButitisnotavailableinthePlug-instab.Ievenclickedtobefoundalphabetically. I tried to find it through the search, but I could not. I installed eve...
asked on 04.06.2014 / 01:00
2
answers

Saving the logged-in user ID

I am using it in my Windows Authentication application. I have a controller where the user must register their professional experiences. However, the way the application was made, I need every time I enter a new data, put the license number or I...
asked on 11.06.2014 / 14:27
1
answer

How to add new properties to a user using Identity?

How can I create new properties using the UserIdentity that comes by default when creating an MVC 5 application? Also, is it interesting to put information that does not pertain directly to authentication and authorization in the UserIdentity...
asked on 30.06.2014 / 03:10
1
answer

Connection Provider is not working in VBScript

I have the following connection string: conn = "Provider=SQLNCLI; Server=" & conn_server &"; Database="& conn_database &"; UID="& conn_uid &"; PWD="& conn_pwd And the code to open and run SP: set conexao = serv...
asked on 16.06.2014 / 21:33
1
answer

preg_replace for preg_replace_callback

How do you transition the function preg_replace to preg_replace_callback in this case? I use arrays because I can add continuation in the future. preg_replace( array( '/(?i)\b((?:https?:\/\/|www\d{0,3}[.]|[a-z0-9.\...
asked on 30.06.2014 / 22:59
1
answer

Floating Point Error

Here is the code for the total price that is giving the floating-point error ': //Pr. Total sgItens.Cells[5,l] := FormatFloat('###,###,###,##0.00',StrToFloat(copy(lTemp, 210, 14))); cont:= StrToFloat(sgItens.Cells[5,l]); valorTotal:= valorT...
asked on 08.05.2014 / 19:51