Posts by gabrieloliveira • 248 points
10 posts
-
2
votes2
answers96
viewsA: Guidelines for using object or procedural guidance in Python and PHP
The understanding of your question is as follows: You can develop a PHP application with procedural and/or object-oriented code. The code snippet you quoted from PHP is not object oriented. Is a…
-
1
votes2
answers488
viewsA: Does not load Splash for iOS in Phonegap Build
I was able to fix it for anyone with the same problem: The mistake: I did not follow the Ionic documentation when generating the Splash images, which asks for a 2208px x 2208px base image. I was…
-
1
votes1
answer46
viewsA: Django csv error
The problem is that you are assigning the id to the attribute idmunicipio. In Django, it expects you to assign an instance, in this case, of Municipios. You have two options, overriding the code…
-
0
votes2
answers488
viewsQ: Does not load Splash for iOS in Phonegap Build
Hi, I’ve tried several ways to build an app for iOS using the Phonegap Build. The app is generated normally. First the problem was the icon, always appeared the default icon of Cordova. I was able…
-
0
votes2
answers1848
viewsA: Ajax returning [Object Object]
Transform into a JSON: alert(JSON.stringify(data)); console.log(JSON.stringify(data));
-
2
votes2
answers5990
viewsA: Is it possible to send email with xampp from a local server?
As it is independent of the script you will use, just use the data of a Gmail account, for example: Servidor: smtp.gmail.com Porta: 465 (SSL) ou 587 (TLS) Usuário: [email protected] Senha: Sua…
-
1
votes1
answer856
viewsA: How to create a list in Mailchimp, via API?
I recommend doing as I did. I exported my list directly through the database, using the Phpmyadmin option to export as . CSV and Mailchimp recognized the fields at the time of import. Very simple.…
-
1
votes2
answers122
viewsA: Error with jQuery Colorpicker
I downloaded the jQuery Colorpicker package and saw that the jQuery file that comes in it is version 1.3.2. Version 1.10 has major changes compared to 1.3.2, so try loading the jQuery file from the…
jqueryanswered gabrieloliveira 248 -
1
votes2
answers117
viewsA: Highlight Data Filter
You will use PHP to check if the date has passed (you have not clarified where the date is to be checked, I am assuming it is in "Alvaravalidade"): if (strtotime($exibe['AlvaraValidade']) <…
-
1
votes1
answer182
viewsA: How to release socket on the MAC OS X terminal after cancelling php code execution?
You can try before calling socket_bind(), calling socket_close so that the process tries to close any previous connection. On line 53 of Socketserver.class.php is the following::…