Posts by Jorge Ferrari • 43 points
6 posts
-
1
votes1
answer39
viewsA: Duplicate fields with Yii2 Multipleinput
You can do it in many ways, most of them involve Javascript. With the use of Select2 (https://select2.org/) you can create a taginput, and in the backend separate the data sent by the user creating…
-
0
votes1
answer129
viewsA: How to get the logged-in user on the machine accessing the PHP page?
Depending on the environment Apache may be going through a proxy You can do as suggested on: https://renaudmarti.net/posts/make-apache-proxy-remote-user-to-backend/ In your . htaccess add the…
-
1
votes1
answer81
viewsA: Insert PHP into CSS in MVC structure
You can create a . php file that will process the css, just at the beginning of it put the following header header("Content-type: text/css; charset: UTF-8"); And on the pages you will use, do the…
-
-1
votes1
answer209
viewsQ: Nfse - Standard São Paulo and Blumenau, problem with error 1057 and signature?
Let’s go in pieces. First, I already tested Enviorps and Envioloterps and both return the same error: [1057] Rejeição - Assinatura difere do calculado. I’m forming XML and it’s getting this way:…
-
1
votes4
answers1429
viewsQ: How to search for results in Mysql where a given field only has special characters?
I need to search in Mysql, lines where a given field, for example 'Name', is filled only with special characters or white spaces. I tried several REGEX for such but unsuccessful. Could someone help…
-
1
votes1
answer493
viewsQ: Why does my Taxonomy in Wordpress not work on a hierarchical level?
My problem is the following, record a custom post type and a custom taxonomy for the same, both with hierarchy enabled. Record custom type 'categories' within taxonomy, following the style Father…