Posts by luciano mallmann2 • 51 points
8 posts
-
0
votes1
answer29
viewsQ: End every PHP loop
I have a query in sql returning 2399 records, I divide and run it by parts, I need to find a way to divide the loop equally, because if I divide by 100 example, it still remains a 99 loop. for ($i =…
phpasked luciano mallmann2 51 -
1
votes1
answer98
viewsQ: Doubt, API Restfull x Angular x CSRF
I am developing an application, in the backend I am developing a Restful in PHP, and in the front, Angular. I have a simple question about CSRF protection: It is necessary to protect against CSRF?…
-
-1
votes2
answers1087
viewsA: Open a tab by clicking on the navbar link
If you are using jQuery Tabs: $( "#tabs" ).tabs({ active: #seutab });
-
2
votes4
answers351
viewsA: Meta Author does not embed on the site
I use in my app, the same address for Publisher and Author, in which yours would be https://www.facebook.com/strangerthings.com.br, and your Publisher has one more Slash. <meta…
facebookanswered luciano mallmann2 51 -
0
votes2
answers79
viewsA: Passing of AJAX parameters
<form id="form"> <div class="container-fluid"> <div class="row"> <div class="col-sm-6 col-md-4"> Nome Completo:<input type="text" id="nome"…
-
1
votes1
answer206
viewsA: Extend PHP session using . htaccess
// Faz o set de duracao em segundos ini_set('session.gc_maxlifetime', 3600); // Seta o cookie em segundos session_set_cookie_params(3600); /* * Pagina de login …
-
1
votes1
answer140
viewsA: How to view jquery in php
<script> //Nao esqueca o caminho do jquery.js function Hide() { console.log("ok"); $('.nomeClas').hide(); $('.nominho').hide(); …
-
-1
votes2
answers227
viewsA: Problem to load image in specific hosting
Have you tried using the base in your index? Don’t forget the first Slash "/" <base href="/Diretorio completo da sua img">