All Questions

2
answers

Problem when performing XHR in the same domain (localhost)

Explanation: I have an application running on a client computer, it worked normally for some time, then something happened that the system could only be accessed from outside and locally it did not work anymore . Problem: XHR is not ge...
asked on 10.09.2014 / 19:18
2
answers

Insert Multiple Record in PHP MYSQL table

I'm trying to make a INSERT using PHP to insert multiple records into the DB at once. My code is only inserting the first row of the data. It even displays all the lines, but to insert, only the first one is sent to the DB. include "...
asked on 21.08.2014 / 20:42
2
answers

How does PHP handle temporary expression for memory?

In PHP, it is possible to iterate the elements of a array through foreach , both with the variable that contains it and what PHP called " temporary array expression " . Example: $myArray = ['a' => 'a', 'b' => 'b']; foreach (...
asked on 29.09.2014 / 17:53
2
answers

Send request get and receive data

According to PagSeguro, I need to make a GET and then receive the data that comes in XML format Documentation . I'm screwed in this part:    To consult a transaction notification, you must make a   the Notification Query API, informing th...
asked on 13.10.2014 / 14:07
1
answer

Adding libs on android with eclipse

I usually get the jar and put it inside the lib folder of my project, but I have already seen people doing the same thing and adding it to the "Java Build Path / Add JARs ...", is it different from just putting it in the folder?     
asked on 26.10.2014 / 04:01
1
answer

Return only albums with at least one photo

I'm currently doing the following FQL query to return all the logged-in user albums that have at least one photo (with the number of photos): SELECT object_id, name, photo_count FROM album WHERE owner = me() AND photo_count > 0 Unfortu...
asked on 19.09.2014 / 17:03
3
answers

Problems with SELECT with 2 WHEREs

I have a somewhat amateurish problem here. I can not do this SELECT from 2 CONDITIONS, and I can not find the ERROR! Someone please give me a light there! Follow the Code: OleDbConnection Con = new OleDbConnection(); Con.ConnectionSt...
asked on 26.07.2016 / 22:53
1
answer

How to automate a deploy in Apache?

I have some Django-based systems that often need to be deployed on different servers. This involves, among other things, installing all dependencies, downloading project files, placing them in a standardized folder, etc., all of which can be don...
asked on 12.11.2014 / 21:34
2
answers

How do these sites load your HTML?

I ended up looking at source code from websites like Gmail.com and Secret.ly and I noticed that the HTML is embedded in JavaScript, what technology do they use? It looks like this: <script>var codes = {"AutoControlHeader":true,"CanSub...
asked on 19.11.2014 / 18:53
2
answers

Give alert after entering the word "pass"

How can I perform an alert after the user types "stack". For example, I'm here posting this and after I write stack (without being an input, just writing) it gives an alert. I would have to use keypress and which to check the keys b...
asked on 23.12.2014 / 15:21