Posts by Lucas Gauna • 102 points
7 posts
-
-1
votes1
answer44
viewsQ: Release Unsecured Connection with Websocket
Good afternoon, Today we have a PWA (https) system that needs to make the non-secure connection with an embedded application, the same with ip itself. I wonder if this communication is possible and…
-
2
votes2
answers111
viewsA: Converting JSON to HTML via AJAX into Codeigniter
The select your model would look like this (avoid consuming band "internet") with information that does not use to mount HTML: $this->db->select('cliente, idPedido'); The foreach model you…
-
0
votes1
answer756
viewsA: Change URL in localhost (.htaccess)
Richard, good morning. Try the following at the root of htdocs, you need to create a . htaccess and place the code. RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
-
0
votes3
answers1387
viewsA: How to use checkbox group to search with php and mysql
It’s code like I said it would be. A URL will be generated like this = "neighborhoods=bairro1%2Cbairro2%2Cbairro3" HTML: <form action="" method="GET" id="pesquisa"> <input type="hidden"…
-
0
votes1
answer48
viewsA: Save positions of a text file to variables using PHP
Railam, Use the function file_get_contents together with a explode $linhas = explode("\n", file_get_contents(caminho/do/arquivo)); After that use the function replace $cnpj =…
phpanswered Lucas Gauna 102 -
2
votes3
answers791
viewsA: Take a value of multiple arrays within an array
Victor, are you okay? Use the php foreach function. foreach($nome_da_variavel as $nome_individual){ var_dump($nome_individual); } Follow the PHP Manual link.…
-
1
votes2
answers1437
viewsA: Autoload Composer class not found
Lucas, try changing the namespace Conec (Class Conn) to the folder name in question (CONN). I don’t have the privilege of commenting yet. The namespace needs to be on the same path, otherwise it…