Posts by lcssanches • 418 points
17 posts
-
2
votes1
answer87
viewsA: Error with AES_DECRYPT Mysql character and Codeigniter
Do not control passwords like this by encrypting and to check decrypting. In 99% of cases you should use password_hash and password_verify. It would work that way: function do_login($user,…
-
1
votes1
answer234
viewsA: take data in the method post
You are sending an array to Node.js. Change the Angular apra code to send without being array. this.appService.getcheckout(this.post()).subscribe(checkout => { this.log = this.log+ checkout });…
-
0
votes2
answers54
viewsA: Codeigniter, update value with "CURRENT_TIMESTAMP"
You need to disable the escape to use MYSQL functions, otherwise Codeigniter will do: UPDATE usuario SET ulogin = 'CURRENT_TIMESTAMP' The third parameter of the method set is boolean (TRUE by…
-
0
votes0
answers143
viewsQ: Dynamic table using Reactive Forms
Using Reactiveform I set up a table so the user can add the raw materials of a particular product. The user selects in a mat-select and add a new row to the table (mat-table). The table columns are:…
-
1
votes1
answer705
viewsA: How to change the root of my site, since the folder is on a level above?
This is not done in the .htaccess. You must change the Apache configuration in httpd.conf. See Documentroot.…
htaccessanswered lcssanches 418 -
1
votes1
answer250
viewsQ: Picker does not manually select
I have this Pickeruf component, which displays the list of states. import React, { Component } from "react"; import { StyleSheet, Platform } from "react-native"; import { Picker } from 'native-base'…
-
0
votes1
answer181
viewsA: How to get the current process that the user is using?
Yes. Is. To recover the active process (in use) you should take the window in focus. For this you must use the API Getforegroundwindow. From the HWND returned by this API you are able to recover the…
c#answered lcssanches 418 -
0
votes1
answer79
viewsA: Is there a background script/code for email marketing?
Has an Opensource project called Mautic. With it you can do campaigns, test A/B, assign points to leads, etc...
emailinganswered lcssanches 418 -
0
votes2
answers5617
viewsA: Excel VBA delete Listbox item
Private Sub CommandButton1_Click() ListBox1.AddItem "teste" End Sub Private Sub CommandButton2_Click() Dim curso resposta = MsgBox("Deseja excluir o curso?", vbYesNo + vbQuestion, "Excluir?") If…
-
0
votes1
answer58
viewsA: Pass variable in Jquery
See the documentation of getJSON $.getJSON( url, { variavel1: "123123", variavel2: "321321", })…
-
1
votes1
answer58
viewsA: Help with release of written application in Visual C#
You should do this processing using a thread. So you leave the interface "free", while the secondary thread does the heavy lifting. Even with this you can put a progress bar to show the user who is…
c#answered lcssanches 418 -
0
votes2
answers257
viewsA: Scroll of the slow, heavy Gridview,
The problem was loading a larger image than Imageview. In this case Imageview had to make a change the size of the image always. Load a Scaled Down Version into Memory…
-
0
votes2
answers257
viewsQ: Scroll of the slow, heavy Gridview,
I’m trying to create an app that is a kind of gallery. Search the photos on mobile and shows the user. The app is already working, but it turns out that the gridview scroll is slow. I don’t know…
-
1
votes2
answers508
viewsA: Case Insensitive - Jquery Search System
so that the search is case-insensitive transform the search term and the element text into UPPERCASE or lowercase $(function(){ $('input[type="text"]').keyup(function(){ var searchText =…
-
6
votes1
answer430
viewsA: Change . by , with PHP or Mysql
In PHP str_replace $vl_unitario = "3.00"; $vl_unitario = str_replace('.', ',', $vl_unitario); //$vl_unitario = "3,00"; http://php.net/manual/en/function.str-replace.php…
-
3
votes6
answers1100
viewsA: Same number of characters in password after md5
Unable to return to md5. Not in a fast and practical way. I don’t know why you want to display this way, but on my user screens I don’t show the password field. Just a "Change password" link that…
-
2
votes1
answer330
viewsA: Problems with programming logic
See these Julia Battisti tutorials help you: http://juliobattisti.com.br/tutoriais/katiaduarte/cbasico001.asp (C Basic) There is not much secret in passing these simple problems from PORTUGOL to C.…
canswered lcssanches 418