Posts by Leonardo Peixe • 63 points
10 posts
-
0
votes1
answer74
viewsQ: Read data over file . csv
I have a PHP system reading data from a csv file. It displays the barcode number where I will relate to the database for update according to the file sent in the system. Example: User sends CSV file…
-
0
votes0
answers24
viewsQ: Error in Woocommerce
Situation: User has 2 items worth R $ 200,00 in the cart User when accessing the home page, when looking at the cart visualizes only 1 item in the amount of R $ 85,00 Code used to print the trolley…
-
2
votes1
answer115
viewsQ: Difference between :80 and other doors
I have a hosting problem where I will not be able to raise my application in the standard port :80, as a solution presented to me have indicated to climb it in a different door, example :3000, and…
-
1
votes0
answers34
viewsQ: Decrease code Nodejs
Hi, I’m developing a nodejs system with the express. However I’m facing something I don’t know yet how to solve, I need a code of mine to return result of a bank query: query = 'SELECT id FROM…
-
1
votes0
answers38
viewsQ: Misunderstanding in scope of function
Hello, I am developing a structure to start developing in Ode, I am beginner so forgive me anything. indexModel.js var Model = require('./model.js'); var model = new Model(); var data; class…
-
1
votes1
answer224
viewsQ: Problems with UTF-8 resale Locaweb
I have a project hosted on Ocaweb at resale, php/html are coded correctly in utf-8, because what is html or echo is returning perfectly, but information from the database is not returned correctly…
-
0
votes0
answers40
viewsQ: MD5 to protect password keeps changing hash
I have a code to protect the password of the very basic database. However to log in I am always using the following: $email = $post['email']; $senha = md5($post['senha']); return…
phpasked Leonardo Peixe 63 -
0
votes1
answer87
viewsA: Contact Form updates on the same page
Do an ajax, if you are using jquery, it will look like this: $.ajax({ url : 'URL_QUE_TRATA_DE_ENVIAR_EMAIL', type : 'post', data :…
formanswered Leonardo Peixe 63 -
0
votes3
answers646
viewsA: pass checkbox values to the url
window.history.pushState(data, null, 'url_target'); You will have to do a function, for example, with jquery. $('checkbox').on('click', function(){…
phpanswered Leonardo Peixe 63 -
1
votes1
answer128
viewsA: How to enter a cookie in this code
If you want it to continue indefinitely until you delete it, you can do this with Html5, or if you want it to forget the data when closing the browser as well. INDEFINITELY: // Store…
javascriptanswered Leonardo Peixe 63