Posts by Lucas Bustamante • 141 points
6 posts
-
0
votes3
answers3647
viewsA: What are the differences between a source editor, text editor and an IDE?
IDE is life. Essentially, the IDE, unlike a common text editor (Sublime or Notepad++), works within the scope of a "Project", rather than individual files. You open a "project" on it, and it scans…
-
2
votes2
answers4560
viewsA: Display freight calculation on each WP product page
That option was removed in version 3.0.0 of the plugin, released on 06/26/2016. Edit: I developed a plugin that implements this function again. Wordpress repository:…
-
0
votes5
answers4587
viewsA: How to remove ddd from a number
If your input has a mask and the format is (00) 0000-0000 or (00) 00000-0000, you can use REGEX: /** * Função auxiliar para extrair DDD e telefone de uma string * * (string) telefone (00) 0000-0000…
phpanswered Lucas Bustamante 141 -
0
votes1
answer58
viewsA: How to work with flat and minified files?
Usually the compiled CSS is in . gitignore, going up via GIT for production only the compileable Resources. This is done to prevent future programmers from editing the minified files, "killing" the…
-
1
votes1
answer1731
viewsA: Encode and decot URL
Use $_GET only for data that has no problem being exposed in the URL, as search parameters, where the user can copy the URL and send it to someone else, who will see exactly the same page as it.…
-
1
votes4
answers4688
viewsA: Codeigniter 3.0 giving 404 not found
In my case the problem started to happen when I migrated the site to a new environment, and started to give 404 in all subpages. The problem was Apache configuration. I edited httpd.conf, overriding…