Posts by Igor Cacerez • 161 points
13 posts
-
0
votes1
answer62
viewsA: Problem instantiating two models in a php controller
The problem was in the $table field type. I was setting it as Static switched to private and it worked. Anderson Carlos Woss who helped me with this question
-
1
votes1
answer62
viewsQ: Problem instantiating two models in a php controller
I made a mini framework, where the Models extends from a standard class that contains a crud, the only thing the models have is the table information to be used. But when I try to use two models in…
-
1
votes2
answers592
viewsA: How to remove from the index.php url in Codeigniter
Put this code in your file . htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]…
codeigniter-3answered Igor Cacerez 161 -
0
votes1
answer217
viewsQ: Error 404 when using Cielo Ecommerce API
I am trying to make a request via API to make sales via credit card. URL of the Handbook: https://developercielo.github.io/manual/cielo-ecommerce#requisi%C3%A7%C3%A3o JSON informed by CIELO {…
-
2
votes1
answer427
viewsQ: How to Identify Screenshot
How do I identify if any screenshots are happening on the site. For example, Netflix when you’re watching a movie or series and try to take a print it makes the print result totally black. How can…
-
0
votes1
answer90
viewsA: group records with the same value as a column
If you are using Mysql from to use the Group By command SELECT * FROM lojas GROUP BY loja_categoria Or you can use the distinct command SELECT DISTINCT nome_categoria, nome_loja FROM lojas…
-
-2
votes1
answer35
viewsA: Page redirection error - PHP
Have with your site’s full url instead of using: header("location:respostaform_ok.html"); Use like this: header("location:http://seu-site.com.br/respostaform_ok.html");…
phpanswered Igor Cacerez 161 -
7
votes2
answers542
viewsQ: Move div while hovering
How I create the effect similar to this site: http://www.amgrconstrucoes.com.br/lancamento When passing the mouse over the div that contains the image of the enterprise appears another div on it by…
-
1
votes0
answers131
viewsQ: Retrieve information from Webservice
I have to send an Access Token to the webservice, this token should be sent in an XML, like this: POST /webslaptime_deploy/websLapTime.asmx HTTP/1.1 Host: 187.17.175.49 Content-Type: text/xml;…
-
1
votes1
answer435
viewsA: Save file to Mysql database using ajax and php function
I do not understand very well, you want to send the form via ajax? To send via ajax is simple, you can use this code: jQuery("#ajax_form").submit(function(){ var dados = new FormData(this); var url…
-
0
votes1
answer98
viewsA: How to save sessions in the browser
Sessions whenever you close the browser it will be closed. If you want something longer lasting use Cookies, you can configure how long it is available, even by closing the browser. See more about…
-
3
votes1
answer63
viewsQ: How to Restore Database to Recover Data?
Is there an automatic backup system? In my table there was a CNPJ field that contained Cnpjs and Cpfs, it was the type varchar I switched to the guy int and screwed it all up.…
mysqlasked Igor Cacerez 161 -
0
votes1
answer43
viewsQ: API Google maps
How do I make a custom map, style this: http://noroestecom.com.br/a-empresa using the google API, I don’t know where to start.…