Posts by Couper • 100 points
6 posts
-
0
votes2
answers1042
viewsA: How to check if a file already exists in a mobile directory in Flutter?
To check whether or not there is a file in the app’s internal local storage, use: import 'dart:io' as io; // para um arquivo io.File(await path).exists(); // para um diretório io.Directory(await…
-
3
votes2
answers53
viewsA: Save Status Code in variable and check
I suggest you convert Statuscode to an integer, and right after, make the desired comparisons. Something like: var teste2 = (int)response.StatusCode; if(teste2 == 400) { Console.WriteLine("Bad…
-
0
votes1
answer2124
viewsA: Difference between Webservice, API and Restful
An Application Programming Interface (API) is the means by which third parties can write interfaces to communicate with other code. A Webservice is a type of API, which almost always operates over…
-
4
votes1
answer110
viewsQ: To what extent do you use frameworks?
In general, to what extent and when we should use frameworks? It is important to previously learn "raw" language, or you can start learning through frameworks? What are the disadvantages of using…
-
1
votes1
answer43
viewsQ: Alternatives to using transactions on Myisam
I have an application that is in a hosting that does not support me the storage mechanism Innodb, therefore, I am at the mercy of the use of Myisam. There is a secure alternative to using…
-
-1
votes2
answers196
viewsA: Capture set cookie
Try to remove the parentheses before time(). Your code: setcookie('user_mail', $admin['txtMail'], (time() + (30 * 24 * 3600))); PHP 7 Documentation: setcookie("CookieTeste", $value, time()+3600);…