Posts by Thiago Salvatore • 46 points
6 posts
-
1
votes1
answer33
viewsA: How do I save the user session to a website stored on AWS - S3?
So, man, I’m gonna answer around here because I can’t comment. You will not be able to store session via API (ajax requests, etc). This is because these requests are completely independent of each…
-
0
votes2
answers913
viewsA: Get input text values inside modal-body
First thing: The answer I’m going to give you is using jQuery. To access the value of an input field using jQuery, make sure you set an id for each of them. Then, inside your javascript code, access…
-
1
votes3
answers630
viewsA: Problem accessing api using jQuery $.ajax
I will divide the answer into two parts. Applications that simulate HTTP requests (Postman, or the one you are using) have no problems with CORS. They usually understand it as a request coming from…
-
0
votes1
answer139
viewsA: Problem Code Nodejs multiplayer game
When Voce uses clearRect(0.0, width, heigth), Voce erases ALL of your canvas. This is because the dimension of the rectangle that Voce is erasing is equal to the dimension of your canvas. I don’t…
-
0
votes2
answers54
viewsA: Query that returns multiple results
Only by complementing the above answer, you can use IN. To generate the download, Voce will have to use csv. I own a system that handles clients. The code to generate his CSV is below: #Generate the…
queryanswered Thiago Salvatore 46 -
1
votes1
answer1243
viewsA: Upload error [Function.move-uploaded-file]: failed to open stream: Permission denied
You are using lampp. In this case the permissions for the folder are probably configured for your local user. In order to be able to move the object, Voce has to give permissions to the apache user…