Posts by Jose Edinaldo • 107 points
10 posts
-
-2
votes1
answer39
viewsQ: org.apache.Maven.reactor.Mavenexecutionexception: Failed to validate POM for project
I’m having a little problem with my pom giving the following message: Validation Messages: [0] 'dependencies.dependency.version' is missing for com.fasterxml.jackson:jackson-bom:pom Reason: Failed…
-
0
votes3
answers1659
viewsA: Set a variable in the value of an input
var exemplo = document.querySelector("#id"); document.querySelector("[name='txtstart']").value = exemplo; <input type="text" required name="txtstart" style="width:150px" value="">…
-
-1
votes4
answers1959
viewsA: Receive json data in PHP
Since you are using Rduino it does not send the page header, you can use header('Content-Type: application/json'); echo json_encode($data); is one of the alternatives, the other is you set when…
-
0
votes4
answers1959
viewsA: Receive json data in PHP
I didn’t quite understand the first doubt, that you can show how this json you’re trying to save would be easier. But for your last doubt, when you save json in the file, serializes json before…
-
0
votes0
answers51
viewsQ: Problem with sending smtp Swift_message with Symfony2
Hello, I have a problem when using SMTP with Swift_message. I put the right information and the email arrives. The problem is that an email arrives for both "From" and "To". Is that normal or do I…
-
2
votes2
answers104
viewsA: How to resolve duplicate PHP object?
I checked, I can clone my object, so this new object gets a new reference in memory. class Objeto { private $Nome; public function setNome($Nome){ $this->Nome = $Nome; } public function…
-
7
votes2
answers104
viewsQ: How to resolve duplicate PHP object?
I have 2 objects with different values, but when I save it saved as a single object. Example of how I’m using: class Objeto { private $Nome; public function setNome($Nome){ $this->Nome = $Nome; }…
-
0
votes2
answers137
viewsA: Form safety
Well, as you work with forms and we do not know what the customer will go through it would be good to avoid several errors, add a masquerade date in your input. Another thing I usually do in my code…
-
0
votes2
answers46
viewsA: select com datetime mssql
Manipulating data with mysql would be select datatara as date from pesagem where DATE(datatara) = '2015-09-03' and ativo = 1 or select datatara as date from pesagem where DATE_FORMAT(datatara,…
-
2
votes2
answers1217
viewsA: User Password Validation Issue (php, mysql, crypt)
You have to give one crypt in the password passed by the user. Ex: $password = crypt($this->adm->getpass()); //senha passado pelo usuário do formulario $senha_codificada_bd =…